1 to 20:2 times
3,13
20 to 30:2 times
23,30
31 to 40:10 times
31,32,33,34,35,36,37,38,39
41 to 130:9 times
43,53,63,73,83,93,103,113,123
131 to 140:10 times
131,132,133,134,135,136,137,138,139
141 to 199:6 times
143,153,163,173,183,193
so total no= 2+2+10+9+10+6
=39 times