A competition project for CodeXtreme.