Python/백준

백준 10768 - 특별한 날

sophia02 2022. 10. 5. 20:37
month = int(input())
day = int(input())
if month < 2:
    print("Before")    
elif month == 2:
    if day == 18: 
        print("Special")
    elif day > 18: 
        print("After")
    else: 
        print("Before")        
else: 
    print("After")