Grep table entry problem

Hi,

I have a table which looks like this

Line a b c
0 10 0 0
1 0 0
2 0 0 0
3 0 0 0
4 0 0 0
5 0 0 0
6 0 0 0
7 0 0 0
8 0 0 0
42 4614 63 0.013470
111 2765 42 0.014963
112 2748 42 0.015054
226 4118 42 0.010096
227 4118 42 0.010096
228 4118 42 0.010096

When i do a query on grep -w 42; it returns me

42 4614 63 0.013470
111 2765 42 0.014963
112 2748 42 0.015054
226 4118 42 0.010096
227 4118 42 0.010096
228 4118 42 0.010096

while I am only concern on
42 4614 63 0.013470

I tried to have grep -w 42$ but it returns nothing.

Please advise. Thanks.

grep "^42" file