package C2;



import java.util.Random;
import java.util.Scanner;
public class Hellow {
    public static void main(String[] args) 
    {
        Scanner sc = new Scanner(System.in);
        int num = 0;
        num = sc.nextInt();
        Random r = new Random();
        int i = 0;
        int a = 0;
        int b = 0;
        int c = 0;
        int d = 0;
        d = r.nextInt();
        for(i=0;i<num;i++)
        {
            a = r.nextInt(100);
            b = r.nextInt(100);
            c = r.nextInt(4) + 1;
            switch(c) 
            {
            case 1:
                System.out.println(a + "-" + b + "=");break;
            case 2:
                System.out.println(a + "-" + b + "=");break;
            case 3:
                System.out.println(a + "*" + b + "=");break;
            case 4:
                System.out.println(a + "/" + b + "=");break;
            }
        }
     }
}