Problem 1 from the SoftUni homework - Loops, methods, classes