Solution for I.1.12. v1