tough problem

tough problem
1
2
3
4
5
6
8
9
10
11
12
13
14
15
18
19
21
22
23
27
28