The third homework of the Java course in SoftUni.