HW_3, Task 1: version for checking