#include int main(){ int a,b,c,d,e,f; scanf("%d.%d.%d%d.%d.%d",&a,&b,&c,&d,&e,&f); printf(d