#include <iostream> using namespace std; int main () { char c1, c2; while (cin >> c1) { for (int i=0; i<6; i++) { cin >> c2; cout << abs(c2 - c1); c1 = c2; } cout << endl; } }