var input = '';
var readable = process.stdin;
readable.resume();
readable.setEncoding( 'utf-8' );
readable.on( 'data', function( chunk ) {
  input += chunk;
});
readable.on( 'end', function() {
  var data = input.split( '\n' );
  
  var output = [];
  for( var i=0; i<data.length; i++ ) {
    var aob = data[i].replace( '\n', '' ).split( ' ' );
    if( '?' == aob[1] ) { break; }
    
    var a = parseInt( aob[0] );
    var b = parseInt( aob[2] );
    switch( aob[1] ) {
      case '+':
        output.push( a+b );
        break;
      case '-':
        output.push( a-b );
        break;
      case '*':
        output.push( a*b );
        break;
      case '/':
        output.push( Math.floor( a/b ) );
        break;
    }
  }
  console.log( output.join( '\n' )  );
});