a = "a"
import time,threading
def thread_func(a):
w = 0
while w < 5:
time.sleep(2)
print("func:" + a)
w += 1
if __name__ == "__main__":
x = threading.Thread(target=thread_func, args=(a))
x.start()
a = input()
func:a
func:a
d
func:d
func:d
func:d
func:a
func:a
d
func:a
func:a
func:a