#include <iostream>
using namespace std;

int main() {
    int first, second;

    
    cin >> first >> second;

    
    if ((first >= 1 && first <= 100000) && (second >= 1 && second <= 100000)) {
        
        cout << first << " + " << second << " = " << first + second << endl;
        cout << first << " * " << second << " = " << first * second << endl;
        cout << first << " - " << second << " = " << first - second << endl;
    } else {
        
        return 0;
    }

    return 0;
}
