some code i wrote for USACO didn't want to lose it when wiping my computer