for long

codeforces 266