while''do a,b=io.read(4,1,3)print(a:match('(.)%1 ')or b)end