On the Subject of Fluttering Flags

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

Unicorn

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, submit the flag of France.

Else

Sort the 7 flags by applying the rule identified by the main flag:

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.

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

Flag Country Continent Capital Currency ISO Code Dial Code Sort by
Algeria NAf Alg DZD DZA +213 RJ ? D : S(NAf) ? Y : N
Australia Oc Can AUD AUS +61 S(Oc) ? Y : N
Austria EU Vie EUR AUT +43 I
Belgium EU Bru EUR BEL +32 S(EU) ? Y : N
Brazil SAm Bra BRL BRA +55 I
Canada NAm Ott CAD CAN +1 no lit ? N : I
Chile SAm San CLP CHL +56 S(SAm) ? Y : N
China EA Bei CNY CHN +86 S(EA) ? Y : N
Colombia SAm Bog COP COL +57 S(SAm) ? Y : N
Cuba NAm Hav CUP CUB +53 S(NAm) ? Y : N
Czech Republic EU Pra CZK CZE +420 RJ ? D : T
Denmark EU Cop DKK DNK +45 I
Finland EU Hel EUR FIN +358 RJ ? D : S(EU) ? Y : N
France EU Par EUR FRA +33 I
Germany EU Ber EUR DEU +49 I
Greenland NAm Nuu DKK GRL +299 no lit ? N : RJ ? D : S(NAm) ? Y : N
Iceland EU Rey ISK ISL +354 RJ ? D : T
India SAs New INR IND +91 N
Flag Country Continent Capital Currency ISO Code Dial Code Sort by
Japan EA Tok JPY JPN +81 S(EA) ? Y : N
Mexico NAm Mex MXN MEX +52 no lit ? N : C
Morocco NAf Rab MAD MAR +212 RJ ? D : S(NAf) ? Y : N
Netherlands EU Ams EUR NLD +31 I
New Zealand Oc Wel NZD NZL +64 I
Norway EU Osl NOK NOR +47 T
Panama CA Pan PAB PAN +507 RJ ? D : C
Peru SAm Lim PEN PER +51 S(SAm) ? Y : N
Poland EU War PLN POL +48 I
Samoa Oc Api WST WSM +685 RJ ? D : S(Oc) ? Y : N
Senegal WA Dak XOF SEN +221 RJ ? D : S(WA) ? Y : N
South Korea EA Seo KRW KOR +82 S(EA) ? Y : N
Spain EU Mad EUR ESP +34 S(EU) ? Y : N
Sudan NAf Kha SDG SDN +249 RJ ? D : S(NAf) ? Y : N
Sweden EU Sto SEK SWE +46 T
Thailand SEA Ban THB THA +66 S(SEA) ? Y : N
United Kingdom EU Lon GBP GBR +44 T
United States NAm Was USD USA +1 no lit ? N : I