On the Subject of Flags

I hope you’re good at geography as this is a flag quiz that doesn’t make any sense!

The module consists of a screen with a main flag, a screen with 7 flags that can be navigated using the left and right buttons, and a screen displaying a number between 1 and 7.

Submitting a wrong flag will incur a strike. Submitting the correct flag will disarm the module.

First, sort the 7 flags by applying the first rule that follows its condition:

If there are any flags that have the same information, sort the flags with duplicate information by their country name in alphabetical order.

A number will be displayed at the top right. After sorting the flags, submit the flag in the position of the displayed number in your sorted list of flags.

BUT if there is an unlit BOB indicator, and the serial number contains any character from the phrase "WHITE FLAG" while France is in the 7 flags, ignore all above instructions and simply submit the flag of France.

Use the table in the next pages to get information about flags and countries.

Flag Country Continent Capital Currency ISO Code Dial Code
Algeria North Africa Algiers DZD DZA +213
Australia Oceania Canberra AUD AUS +61
Austria Europe Vienna EUR AUT +43
Belgium Europe Brussels EUR BEL +32
Brazil South America Brasília BRL BRA +55
Canada North America Ottawa CAD CAN +1
Chile South America Santiago CLP CHL +56
China East Asia Beijing CNY CHN +86
Colombia South America Bogotá COP COL +57
Cuba North America Havana CUP CUB +53
Czech Republic Europe Prague CZK CZE +420
Denmark Europe Copenhagen DKK DNK +45
Finland Europe Helsinki EUR FIN +358
France Europe Paris EUR FRA +33
Germany Europe Berlin EUR DEU +49
Greenland North America Nuuk DKK GRL +299
Iceland Europe Reykjavík ISK ISL +354
India South Asia New Delhi INR IND +91
Flag Country Continent Capital Currency ISO Code Dial Code
Japan East Asia Tokyo JPY JPN +81
Mexico North America Mexico City MXN MEX +52
Morocco North Africa Rabat MAD MAR +212
Netherlands Europe Amsterdam EUR NLD +31
New Zealand Oceania Wellington NZD NZL +64
Norway Europe Oslo NOK NOR +47
Panama Central America Panama City PAB PAN +507
Peru South America Lima PEN PER +51
Poland Europe Warsaw PLN POL +48
Samoa Oceania Apia WST WSM +685
Senegal West Africa Dakar XOF SEN +221
South Korea East Asia Seoul KRW KOR +82
Spain Europe Madrid EUR ESP +34
Sudan North Africa Khartoum SDG SDN +249
Sweden Europe Stockholm SEK SWE +46
Thailand Southeast Asia Bangkok THB THA +66
United Kingdom Europe London GBP GBR +44
United States North America Washington, D.C. USD USA +1