import time
import threading

data = []
thread_list = []


def MyThread(value):
    time.sleep(0.01 * pow(1.0001, float(value)))
    print(value)


def main():
    n = int(input('n : '))
    for i in range(n):
        data.append(input('data[%d] : ' % (i + 1)))
        thread = threading.Thread(target=MyThread, args=(str(data[i]), ))
        thread_list.append(thread)
    start = time.perf_counter()
    for thread in thread_list:
        thread.start()
    for thread in thread_list:
        thread.join()
    end = time.perf_counter()
    print('time : %f s' % (end - start))


if __name__ == "__main__":
    main()