← Back to List

26767번: Hurra! ↗

Solutions

Python 3
213 B | 213 chars
for i in range(1, int(input()) + 1):
    if i % 7 == 0 and i % 11 == 0:
        print("Wiwat!")
    elif i % 7 == 0:
        print("Hurra!")
    elif i % 11 == 0:
        print("Super!")
    else:
        print(i)