Jill lives in the (magnetic) north pole. One day, Jill decided to go for a walk, travelling in the four directions (north, east, west, south) for some lengths, with the help of a compass. Your task is to find whether Jill ended up where Jill lives, i.e. the magnetic north pole.
Only south is defined at the north pole. Walking north or south changes the latitude, while walking east or west changes the longitude. The longitude is not defined at the north pole. As a result, Jill would have ended up at the north pole if and only if the distances Jill walked to the south sum up to be equal to the sum of the distances Jill walked to the north, and the distance Jill walked east and west do not matter.
A list of pairs of (direction, amount). The input shall be valid. The amounts will be integers. Acceptable formats include:
(0, 200)(0123 for NESW)
(200,0)(the above reversed)
Two consistent values, one for the case that Jill did end up in the magnetic north pole, and one for the case that Jill did not.
S100, E50, N50, W50, N50 S10, E1000, S30, W400, S10, W10, N50 S30, N30 S10, E50, E50, N10
S100 S10, E314, N5 S300, W135, S10, E35, N290
This is code-golf. Shortest answer in bytes wins. Standard loopholes apply.