2377: Sort the Olympic Table

Problem Statement