Rural Post

Simple challenge to remove all but the post code on each line

Input

RD 5 Gore 9775
RD 6 Gore 9776
RD 7 Gore 9777
RD 1 Great Barrier Island 0991
RD 1 Greta Valley 7387
RD 1 Greytown 5794
RD 1 Hamilton 3281
RD 2 Hamilton 3282

Output

9775
9776
9777
0991
7387
5794
3281
3282