num = int(input( )) # direc = [input( ) for i in range(num)] direc = input( ) current = 'N' for i in direc: d = {'N': 0, 'W': 1, 'S': 2, 'E':...