3a can have last digit of 3, 9, 7, 1
7b can have last digit of 7, 9, 3, 1
3a+7b has 8 at units place if 3a ends with 7, 7b with 1
3a with 9, 7b with 9
3a with 1, 7b with 7
i) 3a ends with 7 for 4n+3 from
7b ends with 1 for 4n from
So, probability =25C1.25C1100×100
=25×25100×100
=116
ii, iii) similarly for other 2 cases also, the probability =116
So, Total probability =116+2×116=316.