Time Limit: 2000ms
Memory Limit: 512MB
L - Split and Swap