There are four students, one of them is 1 year older than the other, the product of the ages of the four is 5040. How old is the oldest of the four students?
有四名学生，他们一个比一个大1岁，四人年龄的乘积为5040．这四名学生中年龄最大的是多少岁？
<result>10</result>