for(i=3*readline();i--;)print("Bloody Mary")