python
password = input()
have_letter = False
have_diggit = False
have_space = False
for i in password:
if i.isalpha():
have_letter = True
elif i.isdigit():
have_diggit = True
elif i == ' ':
have_space = True
if have_letter and have_diggit and not have_space:
print(True)
else:
print(False)