#include <stdio.h> int main() { int n=0; int m=0; int i=0; scanf("%d",&n); for(i=0;i<4;i++)//for循环用分号 { m=n%10; n=n/10; printf("%d",m); } return 0; }