Http://www.usaco.org/index.php?page=viewproblem2&cpid=858

http://www.usaco.org/index.php?page=viewproblem2&cpid=858
Why greedy approach fails here ?