neither of those 2 solutions for 5 coins are obtained usign the greedy algorithm.