CF681A A Good Contest

题目描述

在CF网站上,一个用户的名字颜色由分数决定。分数值大于等于$2400$的用户名字为红色。分数值小于$2400$且大于等于$2200$的用户名字为橙色。每次用户参加比赛,分数值都会根据他的表现变化。 Anton同学希望自己的用户颜色变红。如果他在一次比赛中超过了一些比赛开始前用户名字为红色且比赛后分数值增加了的选手,他会认为自己在这次比赛中表现出色。 Anton同学机智地写了一个程序来判断他在比赛中是否表现出色,你能做到吗?

输入格式

第一行输入一个数$n(1

输出格式

如果Anton表现出色,输出YES,如果不出色(即没有超过一个以上规定的选手)则输出NO。 感谢 @lonelysir 提供的翻译。

说明/提示

In the first sample, Anton has outscored user with handle Burunduk1, whose handle was colored red before the contest and his rating has increased after the contest. In the second sample, Applejack's rating has not increased after the contest, while both Fluttershy's and Pinkie\_Pie's handles were not colored red before the contest.