milk problem; section 1.3 usaco added