n = int(input('Input n: '))
k = int(input('Input k: '))
# 2≤K≤10; 2≤N; 4≤N+K≤18
while True:
if 2 <= k:
if k <= 10:
if 2 <= n:
a = n+k
if 4 <= a:
if a <= 18:
print('Hello world!')
print('Numbers: \nk='+str(k)+'\nn='+str(n)+'\nn+a='+str(a))
break;
else:
a = a-1
else:
a = a+1
else:
n = n+1
else:
k = k-1
else:
k = k+1
exit = input()