Seven countries lay official claims to parts of Antarctica: Argentina, Australia, Chile, France, New Zealand, Norway, and the United Kingdom. We will focus only on the claims of the main Antarctic landmass south of 60° S, which are:
- Chile: between 90° W and 53° W
- United Kingdom: between 80° W and 20° W
- Argentina: between 74° W and 25° W
- Norway: between 20° W and 44°38′ E
- Australia: between 44°38′ E and 136°11′ E; and between 142°2′ E and 160° E
- France: between 136°11′ E and 142°2′ E
- New Zealand: between 160° E and 150° W
The region between 150° W and 90° W is unclaimed. Note also that Chile's, the UK's, and Argentina's claims overlap to some degree.
Here is a map:
The above image modified from work at https://w.wiki/4e3R; used under CC-BY-SA 3.0.
More information and maps are available on Wikipedia.
All of these claims extend northwards from the South Pole at 90° S. It is unclear where Norway's stops, but it does not matter because we will only ask about the claims just north of the South Pole.
Task
Your task is to encode the information about the claims in the fewest bytes possible: given an input \$ x \$, output the set of countries which claim Antarctica at longitude \$ x \$° and latitude 89.9° S.
You should represent outputs of countries using any seven distinct values, within reason.
For the areas where multiple claims overlap (which are variously those of Argentina, Chile, and the United Kingdom), you should output the multiple values representing those countries. These multiple outputs may be in any order.
For the unclaimed region between 150° W and 90° W, you should output an empty list.
Test cases
Input -> Output(s)
--------------------------------------
0.0 / 360.0 -> [Norway]
180.0 / -180.0 -> [New Zealand]
223.2 / -136.8 -> []
270.1 / -89.9 -> [Chile]
280.5 / -79.5 -> [Chile, United Kingdom]
296.6 / -63.4 -> [Argentina, Chile, United Kingdom]
337.6 / -22.4 -> [United Kingdom]
340.3 / -19.7 -> [Norway]
44.6 -> [Norway]
44.7 -> [Australia]
139.4 -> [France]
142.0 -> [France]
142.1 -> [Australia]
161.8 -> [New Zealand]
190.5 / -169.5 -> [New Zealand]
Rules
- Your code must support non-integer longitudes. Small errors due to floating-point precision errors are acceptable
- You may choose to require input \$ x \$ between -180° and 180° (with negative values representing west of the Prime Meridian), or between 0° and 360°. You only need to support one of the two edges of whichever range you choose
- Behaviour exactly on the boundaries of claims (e.g. at exactly 20° W) is undefined
- You may use any standard I/O method
- Standard loopholes are forbidden
- This is code-golf, so the shortest code in bytes wins