from motor import*
from line import*
from time import sleep
while 1:
stat=getline()
print(stat)
if(stat=="centre"):
forward(100)
elif(stat=="null"):
stop()
sleep(0.5)
from motor import*
from line import*
from time import sleep
while 1:
stat=getline()
print(stat)
if(stat=="centre"):
forward(100)
elif(stat=="null"):
stop()
sleep(0.5)