A total of 516 tickets were sold for the school day. There were either adult tickets or student tickets. The number of student tickets sold was three times the number of adult tickets were sold?