#include int main(){ int A=0; int B=0; char str[5]; int s =0; int C; while(true){ C = getchar(); if(C < '0' || '9' < C) break; A = A*10 + C - '0'; } while(true){ C = getchar(); if(C < '0' || '9' < C) break; B = B*10 + C - '0'; } B -=A; if( B==0){ putchar('0'); return 0; } if(B>0){ putchar('+'); }else{ B = -B; putchar('-'); } do{ str[s++] = B%10; B /= 10; }while(B); while(s--){ putchar(str[s]+'0'); } return 0; }