Solution for I.1.4. v1