#include <bits/stdc++.h>
using namespace std;
static char qA[10005], qB[10005];
int main() {
char buf[64];
scanf("%s", buf);
int hA = 0, tA = 0;
for (int i = 0; buf[i]; i++) qA[tA++] = buf[i];
scanf("%s", buf);
int hB = 0, tB = 0;
for (int i = 0; buf[i]; i++) qB[tB++] = buf[i];
}