Hello everyone , i have a little problem i dont know how to show the first record which returns "1" for each year, in situation below the answer should be 4 and 8, the rest shouldnt be visible.How could i do that?

1 2013 0
2 2013 0
3 2013 0
4 2013 1
5 2013 1
6 2013 0
7 2014 0
8 2014 1
9 2014 1