Please refer the following sas code:
data temp;
input hu ren shouru zhichu;
cards;
1 1 1000 200
1 2 800 100
1 3 500 0.
2 1 5000 1000
2 2 4000 1200
run;
proc sort data=temp;
by hu shouru;
run;
data temp01;
set temp;
by hu shouru;
if last.hu;
run;
The 'temp01' is what you wanted.