the nearby people must have diffirent sexy?
if the sample is 
150 1 
150 1 
160 1 
140 1 
140 1

is the answer 5?
No. Read description carefully.
\"No. Read description carefully.\"

What\'s the meaning of \"No\"?...
it stands for \"No response\" or \"Wrong Answer\"....
Wrong Answer
150 1 
150 1 
160 1 
140 1 
140 1
the answer is???
I know
\"was already been arranged in a line\" 
© 2015 HUST ACMICPC TEAM. All Right Reserved.