using System;
public class BasicCalculator
{
public static void Main(string[] args)
{
int x = Convert.ToInt32(Console.ReadLine());
int y = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("{0} + {1} = {2}", x, y, x+y);
Console.WriteLine("{0} - {1} = {2}", x, y, x-y);
Console.WriteLine("{0} x {1} = {2}", x, y, x*y);
Console.WriteLine("{0} / {1} = {2}", x, y, x/y);
Console.WriteLine("{0} mod {1} = {2}", x, y, x%y);
}
}