Swap Numbers from extreme end