Long problem statement

URAL - 1881