a001

print("hello, " + input())

a002

s = input().split()
a = s[0]
b = s[1]
print(int(a) + int(b))

a003

luckyList = ["普通", "吉", "大吉"]
enter = input().split()
M = int(enter[0])
D = int(enter[1])
S = (M * 2 + D) % 3
print(luckyList[S])

a004

import sys

for s in sys.stdin:
    int_s = int(s)
    year = "閏年" if(int_s % 4 == 0 and int_s % 100 != 0) or (int_s % 400 == 0) else "平年" 
    print(year)

a005

def verify(a, b, c, d):

    if a != 0 and b != 0 and c != 0 and d != 0:
        if d % c == 0 and c % b == 0 and b % a == 0:
            per = d // c
            print(a, b, c, d, d * per) 
            return

    if d - c == c - b == b - a:
        per = d - c
        print(a, b, c, d, d + per)
        return

t = int(input())
for _ in range(t):

    a, b, c, d = map(int, input().split())
    verify(a, b, c, d)

返回頂端