LiveRamp Interview Question

Input: 4 numbers Output: max time