#include <stdio.h>

int main()
{
 int c;
 while ((c = getchar()) != EOF && c != '\n');
 scanf("%d", &c);
 printf("%d", c);
}