process.stdin.resume();
process.stdin.setEncoding('utf8');
process.stdin.on('data', function (chunk) {
    var lines = chunk.toString().split('\n');
    var x =lines[0];
    var kaitou = x*x*x;
    console.log(x+"x"+x+"="+kaitou);
});