SRM 575 DIV 1 Easy - TheSwapsDivOne: Accepted