Three members of parliament, Amanda Articulate, Brian Brain and Charles Clever, had excelled in the preliminary test and were called forward for a final test.
The Minister proceeded to write numbers on the foreheads of the three contestants and announced that each had been given a prime number (not necessarily distinct) and that the three numbers formed the sides of a triangle with a prime perimeter.
The first to deduce their own number was to be the Minister's successor. Amanda noted that Brian had a 5 and Charles had a 7. After a long period of silence, she announced her number and was duly appointed the new Minister of Science and Technology.
What was her number, and why?