Solving problems

First, solve the problem. Then, write the code.

Comments