Limits 2s, 512 MB

There are **N** players (numbered from **1** to **N**) sitting around a round table. Player **2** is sitting at the right hand side of Player **1**, Player **3** is sitting at the right hand side of Player **2**... and Player **1** is sitting at the right hand side of Player **N**. They are playing an interesting game involving coins. There are **2** sets of coins. Each set contains all the coins from **1** to **N** taka exactly once. So there are **2N** coins in total.

This is a companion discussion topic for the original entry at https://toph.co/p/a-game-of-two-cards