EditorialCheck whether both M=11M=11M=11 and D=11D=11D=11 hold. The year does not affect the answer. Print YES exactly when both conditions hold; otherwise print NO. Time and auxiliary space are O(1)O(1)O(1). The single subtask requires this complete decision. Solution written by GPT6.1