#!/usr/bin/python3
x = (n for n in [1,2,3])
print(2 in x)
print(3 in x)

x = (n for n in [3,2,1])
print(2 in x)
print(3 in x)
