Solve the following problems:

- triangle
- add-binary