問題
A – 世界のFizzBuzz
回答
import sys
# input処理を高速化する
input = sys.stdin.readline
def main():
N = int(input())
if N % 3 == 0:
print('YES')
else:
print('NO')
main()
Freedom is a responsible choice.
import sys
# input処理を高速化する
input = sys.stdin.readline
def main():
N = int(input())
if N % 3 == 0:
print('YES')
else:
print('NO')
main()