MASALA #A

n=int(input())
print(f'{n/10:.1f}'+'kg')

MASALA #B

n=int(input())
cnt=0
while(n>=5):
   cnt+=1
   n-=7
if(n>0):print(1,cnt)
else:print(0,cnt)

MASALA #C

x,y=map(int,input().split())
cnt=0
while(x!=y*3):
   cnt+=1
   x+=1
   y+=1
print(cnt)

MASALA D:

# a+b=x
# a-b=y
# 2a=x+y
# a=(x+y)/2
# b=a-y
x,y=map(int,input().split())
if((x+y)%2):exit(print(-1))
a=(x+y)//2
b=a-y
print(a,b)

MASALA #E

def dc(a):
   b=a.copy()
   mn=min(b)
   for i in range(len(b)):
       if(b[i]==mn and i!=b.index(mn) and i!=len(b)-b.index(mn)-1):
           b[i]=mn-1
   return b
n=int(input())
a=[[n for i in range(2*n-1)]]
for i in range(n-1):
   a.append(dc(a[-1]))
a = a + a[::-1][1:]
for k in a:
   print(*k)

MASALA #F

n,a=map(int,input().split())
m=n
power=1
while(a>n):
   power+=1
   n*=m
if(a==n):print(power)
else:print(-1)

MASALA #G

a=[]
for i in range(3):
   a.append(list(map(str,input().split())))
for i in range(3):
   if(a[i][0]==a[i][1] and a[i][0]==a[i][2]):
       if(a[i][0]=='0'):exit(print("Mirfayz"))
       if(a[i][0]=='X'):exit(print("Zafar"))
for i in range(3):
   if(a[0][i]==a[1][i] and a[0][i]==a[2][i]):
       if(a[0][i]=='0'):exit(print("Mirfayz"))
       if(a[0][i]=='X'):exit(print("Zafar"))
if(a[0][0]==a[1][1] and a[0][0]==a[2][2]):
   if(a[0][0]=='0'):exit(print("Mirfayz"))
   if(a[0][0]=='X'):exit(print("Zafar"))
if(a[2][0]==a[1][1] and a[2][0]==a[0][2]):
   if(a[2][0]=='0'):exit(print("Mirfayz"))
   if(a[2][0]=='X'):exit(print("Zafar"))
print("DO'STLIK G'ALABA QOZONDI")