//
// Your header goes here.
//

#include <stdio.h>

int main(int argc, char** argv)
{
	char ch;
	int  n=0;

	while(1)
	{
		ch=getchar();
		if(ch=='\n')
			break;
		n*=10;
		n+=(int)(ch-'0');
	}		
	printf("%d\n",n);
	
	return 0;
}
/*
   Compile: gcc decode_SHELL.c 
       Run: ./a.out < decode.txt
    Output: 19
*/
