A group of 50 students participated in a math competition. The number of students who scored higher than Lily is three times fewer than the number of students who scored lower than Lily. At what rank did Lily finish? Let's think step by step and output the final answer within \boxed{}.
user