apple pie's submission of Enough Space | CodeChef