8
547

Find the 1s digit of each number