[SRM529] PairingPawns by Yanzhe Chen