a football betting codeforces solution