#includeint main(){ int n,sum=1; scanf("%d",&n); while(n) { sum = sum*(n%10); //乘以num的个位数 n = n/10; } printf("%d\n",sum); return 0;}