Short and concise code for programming contests