Eight friends, M, N, O, P, Q, R, S, and T, are sitting in a circle in that order. They play a counting game starting with M saying '1'. They continue counting around the circle (N says '2', O says '3', and so on). If the number someone says contains a as a digit or is a multiple of , that person leaves the circle. The counting continues from the next person in the circle, starting with the next integer. Who is the last person remaining?
M
N
O
P
R