No submissions yet
Submit your solution to display here.
Test Cases
Test Results
Input
4 50 T1 45 T2 67 T3 10 T4 90
Expected Output
T2 67 T4 90