Time Limit: 5000ms
Memory Limit: 512MB
F - 2Nodes