Competed in Code Forces Round 259, 3/5