Balanced Lineup Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 48900 Accepted: 22901 Case Time Limit: 2000MS