Solving a 'Stanford' University entrance exam | a+b=?