Task 4 of C# training