#-------1-----
summa = 0
for i in range(10,20):
summa += i
print(summa)
#---------2-----------
proiz = 1
for i in range(1, int(input("n: "))):
proiz *= i
print(proiz)
#-------1-----
summa = 0
for i in range(10,20):
summa += i
print(summa)
#---------2-----------
proiz = 1
for i in range(1, int(input("n: "))):
proiz *= i
print(proiz)