It took him only ten minutes to work out the maths problem.(