Command Network Time Limit: 1000MS Memory Limit: 131072K Total Submissions: 18628 Accepted: 5340 Description After a l