My Google code jam attempts