#include
int Serchsequential(int st[], int n, int k)
{
int i = n - 1;
while ((st[i] != k) && i >= 0)
i--;
if (i < 0)
return 0;
return i + 1;
}
int main()
{
int a[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
int k, te;
scanf("%d", &k);
te = Serchsequential(a, 10, k);
if (te == 0)
printf("没有此数据\n");
else
printf("%d", te);
return 0;
}