#include<cstdio> int main(){int k,a,b,n=10;scanf("%d",&k);for(register long long i=1;i++;i<=10){scanf("%d",&a);scanf("%d",&k);}printf("%d",b);}