Solution for I.1.3. v1