import turtle as t
import time
w=1
print("multifunctional machine")
print(" ")
s=input("function choosing")
if s=='calculator':
print("attention:")
print("no any symbol or letter in the blacket")
a=int(input("number 1"))
b=input("symbol")
c=int(input("number 2"))
if b=='+':
print(a+c)
if b=='*':
print(a*c)
if b=='/':
print(a/c)
if b=='-':
print(a-c)
if s=='clock':
print("60s clock")
q=input("continue or stop")
if q=='continue':
while True:
print(w,"s")
time.sleep(1)
w +=1
if w==60:
print("60","s")
print("using over")
break
if q=='stop':
print("using over")
if s=="equation":
e=int(input("x's"))
g=input("symbol")
t=int(input("other number"))
r=int(input("sum of the x's and the number"))
if g=='+':
print(e,"x","=",r-t)
print("x=",(r-t)/e)