#include <stdio.h>

void rev(int n){
	while(n>=1){
		printf("%d",n%10);
		n=n/10;
	}
}

int main(void) {
	rev(68390);
	return 0;
}
