apple pie's submission of Chess Time | CodeChef