#include <iostream>
using namespace std;
int main() {
int a,b,c,d,e,f;
cin >> a,b,c,d,f,e;
e=a-c;
f=b-d;
cout<<e<<f;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwppbnQgbWFpbigpIHsKICAgIGludCBhLGIsYyxkLGUsZjsKICAgIGNpbiA+PiBhLGIsYyxkLGYsZTsKICAgIGU9YS1jOwogICAgZj1iLWQ7CiAgICBjb3V0PDxlPDxmOwogICAgcmV0dXJuIDA7Cn0K