#TI-Basic, 40 bytes
TI-Basic, 40 bytes
Hardcodes the inputs. Boring, but the shortest way.
sub("NEWS",1+int(inString("E/W\N\S/N/S\E\W/",Ans)/4),1
#TI-Basic, 40 bytes
Hardcodes the inputs. Boring, but the shortest way.
sub("NEWS",1+int(inString("E/W\N\S/N/S\E\W/",Ans)/4),1
TI-Basic, 40 bytes
Hardcodes the inputs. Boring, but the shortest way.
sub("NEWS",1+int(inString("E/W\N\S/N/S\E\W/",Ans)/4),1