Accepted by a different proposed supervsior: writing a thank you letter
All it really takes is something simple. 


  Thank you both for considering my candidacy. I'm happy to join the program under Professor Y's direction.  


And stay friendly with everyone.