from random import randint
flag=False
for i in range(16):
x=randint(-20,20)
if x%3==0:
flag=True
print(x)
print(flag)
#python 3.6
from random import randint
flag=False
for i in range(16):
x=randint(-20,20)
if x%3==0:
flag=True
print(x)
print(flag)
#python 3.6