'''
@Author: your name
@Date: 2020-07-16 16:15:44
@LastEditTime: 2020-07-16 18:01:28
@LastEditors: Please set LastEditors
@Description: In User Settings Edit
@FilePath: \vscode_py\day11.py
'''
def Q38():
str=input().split()
l=[int(i) for i in str]
print(l)
t=tuple(l)
print(t)
print(t[:5])
print(t[5:])
def Q39():
t=(1,2,3,4,5,6,7,8,9,10)
tp1=tuple(i for i in t if i%2==0)
print(tp1)
def Q40():
l=input()
if l=='yes' or l=='YES' or l=='Yes':
print("Yes")
else:
print("No")
def Q41():
l=[1,2,3,4,5,6,7,8,9,10]
s=map(lambda x: x**2,l)
print(list(s))
def Q42():
l=[1,2,3,4,5,6,7,8,9,10]
r=map(lambda x:x**2,filter(lambda x:x<5,l))
print(list(r))
def even(x):
return x % 2==0
def Q43():
l=[i for i in range(1,21)]
r=filter(even,l)
print(list(r))
if __name__ == "__main__":
Q43()