Task 1. Write down all three-digit numbers whose sum of digits is equal to 4.
Solution. Three-digit numbers whose sum of digits is equal to 4 are: 400, $310, 301, 130, 103, 220, 202, 211, 121$ and 112.