import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;

import static java.lang.Math.PI;

public class Main{
    public static void main(String[] args) {
	try {
	    BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
	    String line;
	    while ((line = stdReader.readLine()) != null) {
		String[] splits = line.split(" ");
		Integer a = Integer.parseInt(splits[0]);
		Integer b = Integer.parseInt(splits[2]);
		String op = splits[1];
		if (op.equals("?")) {
		    System.exit(0);
		} else {
		    if (op.equals("+")) {
			System.out.println( String.format("%d", a + b) );
		    } else if (op.equals("-")) {
			System.out.println( String.format("%d", a - b) );
		    } else if (op.equals("*")) {
			System.out.println( String.format("%d", a * b) );
		    } else if (op.equals("/")) {
			System.out.println( String.format("%d", a / b) );
		    }
		}
	    }
	    stdReader.close();
	} catch (Exception e) {
	    System.out.println(Arrays.toString(e.getStackTrace()));
	    System.exit(0);
	}
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Arrays; Arrays java.util import static java.lang.Math.PI; import static java.lang.Math.PI; import static java.lang.Math.PI; public class Main{
    public static void main(String[] args) {
	try {
	    BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
	    String line;
	    while ((line = stdReader.readLine()) != null) {
		String[] splits = line.split(" ");
		Integer a = Integer.parseInt(splits[0]);
		Integer b = Integer.parseInt(splits[2]);
		String op = splits[1];
		if (op.equals("?")) {
		    System.exit(0);
		} else {
		    if (op.equals("+")) {
			System.out.println( String.format("%d", a + b) );
		    } else if (op.equals("-")) {
			System.out.println( String.format("%d", a - b) );
		    } else if (op.equals("*")) {
			System.out.println( String.format("%d", a * b) );
		    } else if (op.equals("/")) {
			System.out.println( String.format("%d", a / b) );
		    }
		}
	    }
	    stdReader.close();
	} catch (Exception e) {
	    System.out.println(Arrays.toString(e.getStackTrace()));
	    System.exit(0);
	}
    }
} Main public static void main(String[] args) {
	try {
	    BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
	    String line;
	    while ((line = stdReader.readLine()) != null) {
		String[] splits = line.split(" ");
		Integer a = Integer.parseInt(splits[0]);
		Integer b = Integer.parseInt(splits[2]);
		String op = splits[1];
		if (op.equals("?")) {
		    System.exit(0);
		} else {
		    if (op.equals("+")) {
			System.out.println( String.format("%d", a + b) );
		    } else if (op.equals("-")) {
			System.out.println( String.format("%d", a - b) );
		    } else if (op.equals("*")) {
			System.out.println( String.format("%d", a * b) );
		    } else if (op.equals("/")) {
			System.out.println( String.format("%d", a / b) );
		    }
		}
	    }
	    stdReader.close();
	} catch (Exception e) {
	    System.out.println(Arrays.toString(e.getStackTrace()));
	    System.exit(0);
	}
    } main {
	try {
	    BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
	    String line;
	    while ((line = stdReader.readLine()) != null) {
		String[] splits = line.split(" ");
		Integer a = Integer.parseInt(splits[0]);
		Integer b = Integer.parseInt(splits[2]);
		String op = splits[1];
		if (op.equals("?")) {
		    System.exit(0);
		} else {
		    if (op.equals("+")) {
			System.out.println( String.format("%d", a + b) );
		    } else if (op.equals("-")) {
			System.out.println( String.format("%d", a - b) );
		    } else if (op.equals("*")) {
			System.out.println( String.format("%d", a * b) );
		    } else if (op.equals("/")) {
			System.out.println( String.format("%d", a / b) );
		    }
		}
	    }
	    stdReader.close();
	} catch (Exception e) {
	    System.out.println(Arrays.toString(e.getStackTrace()));
	    System.exit(0);
	}
    } try {
	    BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
	    String line;
	    while ((line = stdReader.readLine()) != null) {
		String[] splits = line.split(" ");
		Integer a = Integer.parseInt(splits[0]);
		Integer b = Integer.parseInt(splits[2]);
		String op = splits[1];
		if (op.equals("?")) {
		    System.exit(0);
		} else {
		    if (op.equals("+")) {
			System.out.println( String.format("%d", a + b) );
		    } else if (op.equals("-")) {
			System.out.println( String.format("%d", a - b) );
		    } else if (op.equals("*")) {
			System.out.println( String.format("%d", a * b) );
		    } else if (op.equals("/")) {
			System.out.println( String.format("%d", a / b) );
		    }
		}
	    }
	    stdReader.close();
	} catch (Exception e) {
	    System.out.println(Arrays.toString(e.getStackTrace()));
	    System.exit(0);
	} catch (Exception e) {
	    System.out.println(Arrays.toString(e.getStackTrace()));
	    System.exit(0);
	} Exception e {
	    System.out.println(Arrays.toString(e.getStackTrace()));
	    System.exit(0);
	} System.out.println(Arrays.toString(e.getStackTrace())) System.out.println System.out System System.out Arrays.toString(e.getStackTrace()) Arrays.toString Arrays e.getStackTrace() e.getStackTrace e System.exit(0) System.exit System 0 {
	    BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
	    String line;
	    while ((line = stdReader.readLine()) != null) {
		String[] splits = line.split(" ");
		Integer a = Integer.parseInt(splits[0]);
		Integer b = Integer.parseInt(splits[2]);
		String op = splits[1];
		if (op.equals("?")) {
		    System.exit(0);
		} else {
		    if (op.equals("+")) {
			System.out.println( String.format("%d", a + b) );
		    } else if (op.equals("-")) {
			System.out.println( String.format("%d", a - b) );
		    } else if (op.equals("*")) {
			System.out.println( String.format("%d", a * b) );
		    } else if (op.equals("/")) {
			System.out.println( String.format("%d", a / b) );
		    }
		}
	    }
	    stdReader.close();
	} BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in)); stdReader new BufferedReader(new InputStreamReader(System.in)) String line; line while ((line = stdReader.readLine()) != null) {
		String[] splits = line.split(" ");
		Integer a = Integer.parseInt(splits[0]);
		Integer b = Integer.parseInt(splits[2]);
		String op = splits[1];
		if (op.equals("?")) {
		    System.exit(0);
		} else {
		    if (op.equals("+")) {
			System.out.println( String.format("%d", a + b) );
		    } else if (op.equals("-")) {
			System.out.println( String.format("%d", a - b) );
		    } else if (op.equals("*")) {
			System.out.println( String.format("%d", a * b) );
		    } else if (op.equals("/")) {
			System.out.println( String.format("%d", a / b) );
		    }
		}
	    } (line = stdReader.readLine()) != null (line = stdReader.readLine()) line stdReader.readLine() stdReader.readLine stdReader null {
		String[] splits = line.split(" ");
		Integer a = Integer.parseInt(splits[0]);
		Integer b = Integer.parseInt(splits[2]);
		String op = splits[1];
		if (op.equals("?")) {
		    System.exit(0);
		} else {
		    if (op.equals("+")) {
			System.out.println( String.format("%d", a + b) );
		    } else if (op.equals("-")) {
			System.out.println( String.format("%d", a - b) );
		    } else if (op.equals("*")) {
			System.out.println( String.format("%d", a * b) );
		    } else if (op.equals("/")) {
			System.out.println( String.format("%d", a / b) );
		    }
		}
	    } String[] splits = line.split(" "); splits line.split(" ") line.split line " " Integer a = Integer.parseInt(splits[0]); a Integer.parseInt(splits[0]) Integer.parseInt Integer splits[0] splits 0 Integer b = Integer.parseInt(splits[2]); b Integer.parseInt(splits[2]) Integer.parseInt Integer splits[2] splits 2 String op = splits[1]; op splits[1] splits 1 if (op.equals("?")) {
		    System.exit(0);
		} else {
		    if (op.equals("+")) {
			System.out.println( String.format("%d", a + b) );
		    } else if (op.equals("-")) {
			System.out.println( String.format("%d", a - b) );
		    } else if (op.equals("*")) {
			System.out.println( String.format("%d", a * b) );
		    } else if (op.equals("/")) {
			System.out.println( String.format("%d", a / b) );
		    }
		} op.equals("?") op.equals op "?" {
		    System.exit(0);
		} System.exit(0) System.exit System 0 {
		    if (op.equals("+")) {
			System.out.println( String.format("%d", a + b) );
		    } else if (op.equals("-")) {
			System.out.println( String.format("%d", a - b) );
		    } else if (op.equals("*")) {
			System.out.println( String.format("%d", a * b) );
		    } else if (op.equals("/")) {
			System.out.println( String.format("%d", a / b) );
		    }
		} if (op.equals("+")) {
			System.out.println( String.format("%d", a + b) );
		    } else if (op.equals("-")) {
			System.out.println( String.format("%d", a - b) );
		    } else if (op.equals("*")) {
			System.out.println( String.format("%d", a * b) );
		    } else if (op.equals("/")) {
			System.out.println( String.format("%d", a / b) );
		    } op.equals("+") op.equals op "+" {
			System.out.println( String.format("%d", a + b) );
		    } System.out.println( String.format("%d", a + b) ) System.out.println System.out System System.out String.format("%d", a + b) String.format String "%d" a + b a b if (op.equals("-")) {
			System.out.println( String.format("%d", a - b) );
		    } else if (op.equals("*")) {
			System.out.println( String.format("%d", a * b) );
		    } else if (op.equals("/")) {
			System.out.println( String.format("%d", a / b) );
		    } op.equals("-") op.equals op "-" {
			System.out.println( String.format("%d", a - b) );
		    } System.out.println( String.format("%d", a - b) ) System.out.println System.out System System.out String.format("%d", a - b) String.format String "%d" a - b a b if (op.equals("*")) {
			System.out.println( String.format("%d", a * b) );
		    } else if (op.equals("/")) {
			System.out.println( String.format("%d", a / b) );
		    } op.equals("*") op.equals op "*" {
			System.out.println( String.format("%d", a * b) );
		    } System.out.println( String.format("%d", a * b) ) System.out.println System.out System System.out String.format("%d", a * b) String.format String "%d" a * b a b if (op.equals("/")) {
			System.out.println( String.format("%d", a / b) );
		    } op.equals("/") op.equals op "/" {
			System.out.println( String.format("%d", a / b) );
		    } System.out.println( String.format("%d", a / b) ) System.out.println System.out System System.out String.format("%d", a / b) String.format String "%d" a / b a b stdReader.close() stdReader.close stdReader String[] args args public class Main{
    public static void main(String[] args) {
	try {
	    BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
	    String line;
	    while ((line = stdReader.readLine()) != null) {
		String[] splits = line.split(" ");
		Integer a = Integer.parseInt(splits[0]);
		Integer b = Integer.parseInt(splits[2]);
		String op = splits[1];
		if (op.equals("?")) {
		    System.exit(0);
		} else {
		    if (op.equals("+")) {
			System.out.println( String.format("%d", a + b) );
		    } else if (op.equals("-")) {
			System.out.println( String.format("%d", a - b) );
		    } else if (op.equals("*")) {
			System.out.println( String.format("%d", a * b) );
		    } else if (op.equals("/")) {
			System.out.println( String.format("%d", a / b) );
		    }
		}
	    }
	    stdReader.close();
	} catch (Exception e) {
	    System.out.println(Arrays.toString(e.getStackTrace()));
	    System.exit(0);
	}
    }
} public class Main{
    public static void main(String[] args) {
	try {
	    BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
	    String line;
	    while ((line = stdReader.readLine()) != null) {
		String[] splits = line.split(" ");
		Integer a = Integer.parseInt(splits[0]);
		Integer b = Integer.parseInt(splits[2]);
		String op = splits[1];
		if (op.equals("?")) {
		    System.exit(0);
		} else {
		    if (op.equals("+")) {
			System.out.println( String.format("%d", a + b) );
		    } else if (op.equals("-")) {
			System.out.println( String.format("%d", a - b) );
		    } else if (op.equals("*")) {
			System.out.println( String.format("%d", a * b) );
		    } else if (op.equals("/")) {
			System.out.println( String.format("%d", a / b) );
		    }
		}
	    }
	    stdReader.close();
	} catch (Exception e) {
	    System.out.println(Arrays.toString(e.getStackTrace()));
	    System.exit(0);
	}
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;

import static java.lang.Math.PI;

public class Main{
    public static void main(String[] args) {
	try {
	    BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
	    String line;
	    while ((line = stdReader.readLine()) != null) {
		String[] splits = line.split(" ");
		Integer a = Integer.parseInt(splits[0]);
		Integer b = Integer.parseInt(splits[2]);
		String op = splits[1];
		if (op.equals("?")) {
		    System.exit(0);
		} else {
		    if (op.equals("+")) {
			System.out.println( String.format("%d", a + b) );
		    } else if (op.equals("-")) {
			System.out.println( String.format("%d", a - b) );
		    } else if (op.equals("*")) {
			System.out.println( String.format("%d", a * b) );
		    } else if (op.equals("/")) {
			System.out.println( String.format("%d", a / b) );
		    }
		}
	    }
	    stdReader.close();
	} catch (Exception e) {
	    System.out.println(Arrays.toString(e.getStackTrace()));
	    System.exit(0);
	}
    }
}