/*
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("Hello world!\n");
return 0;
}
*/
/*
#include <stdio.h>
char stack[100001];
int top=0;
void push(char c)
{
top++;
stack[top]=c;
}
char pop()
{
return stack[top--];
}
int main()
{
char str[100001];
int i,t=0;
scanf("%s",str);
for(i=0;str[i]!=NULL;i++)
{
if(str[i]=='('&&str[i+1]==')')
{
t=t+top;
i++;
}
else if(str[i]=='(')
{
push('(');
}
else
{
pop();
t++;
}
}
printf("%d",t);
}
7
push( 523 )
top()
push( 7 )
push( 3 )
top()
pop()
size()
*/
/*
#include <stdio.h>
int stack[201];
int top=0;
void push(int n)
{
top++;
stack[top]=n;
}
int pop()
{
return stack[top--];
}
int main()
{
char str[201];
int i,n;
scanf("%d ",&n);
for(i=0; i<n; i++)
{
gets(str);
if(str[0]=='p'&&str[1]=='u')
{
//push(str[6]-'0');
}
else if(str[0]=='p'&&str[1]=='o')
{
pop();
}
else if(str[0]=='t')
{
if(top==0)
{
printf("-1\n");
}
else
{
printf("%d\n",stack[top]);
}
}
else if(str[0]=='s')
{
printf("%d\n",top);
}
else
{
if(top==0)
{
printf("true\n");
}
else
{
printf("false\n");
}
}
}
}
*/
#include <stdio.h>
int main()
{
char str[50];
int num=0;
scanf("%s",str);
for(int i=0;str[i]!=NULL;i++)
{
num=num*10 + str[i]-'0';
}
printf("%d",num);
}