L'Oréal interview question

Numerical test was very tricky