USACO --- Java