けんき
says to
YSITD
http://codeforces.com/problemset/problem/50/A