Niyaz Nigmatullin's submission of Rendezvous | CodeChef