from picozero import Servo # importing Servo class to easily control the servo motor
from time import sleep
# creating a Servo object
servo1 = Servo(15)
servo2 = Servo(8)
servo3 = Servo(13)
servo4 = Servo(11)
servo5 = Servo(10)
servo6 = Servo(9)
i=0
# continuously swing the servo arm to min, mid, and max positions (for a duration of 1 sec each)
s = input()
l = len(s)
s = s.lower()
#print(s)
#print(l)
x = list(s)
#print(x)
for c in x:
#print(c)
if c == 'a':
print(c)
servo1.max()
servo2.mid()
servo3.mid()
servo4.mid()
servo5.mid()
servo6.mid()
elif c == 'b':
print(c)
servo1.max()
servo2.mid()
servo3.max()
servo4.mid()
servo5.mid()
servo6.mid()
elif c == 'c':
print(c)
servo1.max()
servo2.max()
servo3.mid()
servo4.mid()
servo5.mid()
servo6.mid()
elif c == 'd':
print(c)
servo1.max()
servo2.max()
servo3.mid()
servo4.max()
servo5.mid()
servo6.mid()
elif c == 'e':
print(c)
servo1.max()
servo2.mid()
servo3.mid()
servo4.max()
servo5.mid()
servo6.mid()
elif c == 'f':
print(c)
servo1.max()
servo2.max()
servo3.max()
servo4.mid()
servo5.mid()
servo6.mid()
elif c == 'g':
print(c)
servo1.max()
servo2.max()
servo3.max()
servo4.max()
servo5.mid()
servo6.mid()
elif c == 'h':
print(c)
servo1.max()
servo2.mid()
servo3.max()
servo4.max()
servo5.mid()
servo6.mid()
elif c == 'i':
print(c)
servo1.mid()
servo2.max()
servo3.max()
servo4.mid()
servo5.mid()
servo6.mid()
elif c == 'j':
print(c)
servo1.mid()
servo2.max()
servo3.max()
servo4.max()
servo5.mid()
servo6.mid()
elif c == 'k':
print(c)
servo1.max()
servo2.mid()
servo3.mid()
servo4.mid()
servo5.max()
servo6.mid()
elif c == 'l':
print(c)
servo1.max()
servo2.mid()
servo3.max()
servo4.mid()
servo5.max()
servo6.mid()
elif c == 'm':
print(c)
servo1.max()
servo2.max()
servo3.mid()
servo4.mid()
servo5.max()
servo6.mid()
elif c == 'n':
print(c)
servo1.max()
servo2.max()
servo3.mid()
servo4.max()
servo5.max()
servo6.mid()
elif c == 'o':
print(c)
servo1.max()
servo2.mid()
servo3.mid()
servo4.max()
servo5.max()
servo6.mid()
elif c == 'p':
print(c)
servo1.max()
servo2.max()
servo3.max()
servo4.mid()
servo5.max()
servo6.mid()
elif c == 'q':
print(c)
servo1.max()
servo2.max()
servo3.max()
servo4.max()
servo5.max()
servo6.mid()
elif c == 'r':
print(c)
servo1.max()
servo2.mid()
servo3.max()
servo4.max()
servo5.max()
servo6.mid()
elif c == 's':
print(c)
servo1.mid()
servo2.max()
servo3.max()
servo4.mid()
servo5.max()
servo6.mid()
elif c == 't':
print(c)
servo1.mid()
servo2.max()
servo3.max()
servo4.max()
servo5.max()
servo6.mid()
elif c == 'u':
print(c)
servo1.max()
servo2.mid()
servo3.mid()
servo4.mid()
servo5.max()
servo6.max()
elif c == 'v':
print(c)
servo1.max()
servo2.mid()
servo3.max()
servo4.mid()
servo5.max()
servo6.max()
elif c == 'w':
print(c)
servo1.mid()
servo2.max()
servo3.max()
servo4.max()
servo5.mid()
servo6.max()
elif c == 'x':
print(c)
servo1.max()
servo2.max()
servo3.mid()
servo4.mid()
servo5.max()
servo6.max()
elif c == 'y':
print(c)
servo1.max()
servo2.max()
servo3.mid()
servo4.max()
servo5.max()
servo6.max()
elif c == 'z':
print(c)
servo1.max()
servo2.mid()
servo3.mid()
servo4.max()
servo5.max()
servo6.max()
else:
print(c)
servo1.mid()
servo2.mid()
servo3.mid()
servo4.mid()
servo5.mid()
servo6.mid()
sleep(5)