2005_tournament_Problem D