#include <stdio.h>
#include <math.h>
void number(int x)
{
printf("gewei = %d\nshiwei = %d\nbainwei = %d\n",
x%10,x%100/10,x%1000/100);
}
int main(void)
{
//int x = 123567;
//printf("gewei = %d\nshiwei = %d\n",x%10,x%100/10);
number(123456789);
}