Google Code In task#3