let inpt = readLine()!.map{$0} var idx = 0 var left = 0 var right = 0 while(idx