Solved c: