#include <iostream> 
using namespace std;
int main(){
	int t; 
	cin>> t;
    int e = t / 1000;
	int u = t / 100 % 10;	
    int y = t %100/10;
    int o = t %100%10;
    
	int h =e%10;
	int j =u%10;
	int g =y%10;
	int b =o%10;
	cout<<bjgh<<ensl;	
} 
