Swap the if/elses