Task 1

edit

Hello, mentor. I am Yu Chenbo, a participant of Google Code-in.

Task 2

edit
 

imgs