// Enter your code here import Darwin var n = Int(readLine(stripNewline: true)!)! var steps = [Character](readLine()!.characters) var count = Int() var valley = Int() var route = [Int]() for i in 0..