#include<stdio.h>
#include <stdlib.h>
int main()
{
int count = 0;
int i = 0;
for (i = 1; i <= 100; i++)
{
int a, b;
a = i % 10;//个位为9
b = i / 10;//十位为9
if (a == 9||b == 9 )
count++;
}
printf("%d\n",count);
system("pause");
return 0;
}