import sys
def check_python():
info=sys.version_info
print(info[0])
print(info[1])
if info[0]==2 and not info[1]>=6:
print("python 2.6+required")
sys.exit(1)
elif info[0]==3 and not info[1]>=3:
print('python 3.3 required')
sys.exit(1)
elif info[0]not in [2,3]:
print('Python version not supported')
exit(1)
else:print('end')
if __name__=='__main__':
check_python()