func main() var direction: dict<[]char, int> :: #dict<[]char, int> do direction.add("N", 0) do direction.add("E", 1) do direction.add("S", 2) do direction.add("W", 3) var A: []char :: cui@inputStr() var B: []char :: cui@inputStr() var existed: bool var counter: int :: (direction.get(B, &existed) - |direction.get(A, &existed) + 4) % 4 do cui@print("\{counter}") end func