#include #include using namespace std; int main(){ string A,B; cin>>A>>B; if(A.size()>B.size()) cout<B[i]) cout<