A total of 396 tickets were sold for the school play. They wee either adult tickets or student tickets. The number of student tickets sold was three times of adult tickets sold. How many adult tickets were sold?