Ученик

BULATT

https:codeforces.comcontest1000problemE