Ivan's submission of JosephLand | CodeChef