Xperi interview question

Max amount earned by author