func main() var direction: dict<[]char, int> :: #dict<[]char, int> do direction.add("E", 1) do direction.add("W", 2) do direction.add("S", 3) do direction.add("N", 4) 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