Algorithm/lanqiao/main.py

23 lines
361 B
Python

import io
import sys
sys.stdin = io.StringIO('WHERETHEREISAWILLTHEREISAWAY')
s_in = input()
# print(s_in)
# n = 97
# prime = [1] * (n + 1)
# prime[0] = prime[1] = 0
# for i in range(2, n + 1):
# j = i * i
# while j <= n:
# prime[j] = 0
# j += i
#
# print(prime)
# for idx, num in enumerate(prime):
# if num:
# print(idx)