Table leads. Keep only the digits of each phone, then the last 10 of them, as phone10.
leads
phone10
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.