from random import randint, uniform
import math
# print(f'd = {d}')
a = randint(0, 100)
b = randint(0, 100)
c = randint(0, 100)
d = randint(0, 100)
print(a, b, c, d)

# v = 3
# l = 0
# x = randint(-10, 10)
# y = randint(-10, 10)
# z = randint(-10, 10)
# xx = randint(-10, 10)
# yx = randint(-10, 10)
# zx = randint(-10, 10)
# k = (x, y, z, xx, yx, zx)
# print(k)
# for i in k:
#   if i % v == 0: l += 1
# print(l)

# if x % y == 0 or y % x == 0: print('ok')

# m = [1, 2, 3, 4, 5, 6, 7]
# for n in m:
#   v = n * 7
#   print("% .d "% n,'*',7, '=',v)

# for v in range(10, 100):
#   if v % 2 != 0:
#     #print(v, end=' ')

# for v in range(10, 100, 2):
#   #print(v + 1, end=' ')

# for y in range(10, 100):
#   w = (y % 10 * y % 10) + (y // 10 * y // 10)
#   if w % 13 == 0: #print(w, end=' ')

# for z in range(100, 400):
#   for y in range(59, 87):
#     if z % y == 0: #print(z, y)

# j = 0
# for i in range(15):
#   j += i * i
# #print('sum =', j)

# k = 0
# q = randint(10, 100)
# for s in range(100, 1000):
#   p = (s % 10) + (s // 10 % 10) + (s // 100)
#   if p == q: 
#     k += 1
#     print(s, q, 'num =', k)
# print('num =', k)

# p = randint(0, 10)
# for s in range(100, 1000):
#   if s % p == 0 and (s % 10) + (s // 10 % 10) + (s // 100) == p:
#     print(p, s)

# k = 0
# j = uniform(1, 3)
# for i in range(5):
#   k += j
#   print(k)

# k = 1
# for n in range(0, 25, 3):
#   k *= 2
#   print(n, k)

n = 67849385
k = 0
while n > 0:
  n = n // 10
  k += 1
  print(n)


# if x > 0: k += 1
# if y > 0: k += 1
# if z > 0: k += 1
# print(k)

# y = x if x > 0 else x * -1
# print('% 10.5f '% y)



# v = []
# u = []
# print('enter number x =  ')
# x = int(input())
# print('other y =  ')
# y = int(input())
# for i in range(10):
#   v = x * i
#   u = y + i
#   print(v, u)
# if a < 50:
#   print('number too small, need > 50')
#   print('new number is: ')
# if a > 50:
#   print('ok')
  

# if a % 2 == 0 and a > 0:
#   print(222222222)
# elif a % 2 != 0 and a > 0:
#   print(11111111)
# elif a < 0 and b < 0:
#   v = 3
# elif a > 0 and b < 0:
#   v = 4

# elif a < b < c:
#   v = l(b)
# elif a == b:
#   v = l(c)
# else:
#   v = 'no'

#   a = b = 0
#print(f'ind = {v}')
#else:
#  print(b, a)
# x = 0
# l = [a, b, c, d]
# l.sort()
# print(l[-1])
# for i in l:
#   if a > b: 
#     print(f'a = {l[a]}')
#   else:
#     print(f'b = {l[b]}')

# v = len(l)
# y = v - x

# print(a, b)
# print(f'x = {x}, y = {y}')




