class Proc { public func doProc() { let text = readLine()! let inpt = text.map{ $0 } var pos = 0 var ans = [Int:[String]]() for i in 0..