﻿using System;

namespace Problem_15_Calculator
{
    class Program_15_Calculator
    {
        static void Main()
        {
            int firstOperand = int.Parse(Console.ReadLine());
            char calcOperator = char.Parse(Console.ReadLine());
            int secondOperand = int.Parse(Console.ReadLine());
            int result = 0;

            switch (calcOperator)
            {
                case '+':
                    result = firstOperand + secondOperand;
                    break;
                case '-':
                    result = firstOperand - secondOperand;
                    break;
                case '*':
                    result = firstOperand * secondOperand;
                    break;
                case '/':
                    if (secondOperand != 0)
                    {
                        result = firstOperand / secondOperand;
                    }
                    else
                    {

                    }
                    break;
                case '%':
                    if (secondOperand != 0)
                    {
                        result = firstOperand % secondOperand;
                    }
                    else
                    {

                    }
                    break;
            }

            Console.WriteLine("{0} {1} {2} = {3}", firstOperand, calcOperator, secondOperand, result);
        }
    }
}
