Facebook hacker's cup 2013-14. Qualification round.

3 problems accepted.