UVaOJ_299_Train Swapping