Explanation for 3rd test case in AGECAL

I am not able to understand how test case 3 output is 2 as according to me it should be 1 day .

2
1 1
3 1 1
3 2 1