one day Russian Code Cup event decide play football competition event all participant divide n team play match team play oncethe appoint Judge experience member Pavel but wise soon get bored game fall asleep Waking discover tournament team want know result matchesPavel do not want discover sleep keep eye result decide recover result game to ask team learn real winner friendship team beat team exactly k time help pavel come chronology tournir meet condition report table