#include <iostream>
using namespace std;
// your code here: define macro SQUARE(x)
// your code here: define inline function square(int x)
#define SQUARE(x) (x*x)
inline int square(int x) {return x*x;}
int main() {
int n;
cin >> n;
cout << "Macro Square: " << SQUARE(n) << "\n";
cout << "Inline Square: " << square(n) << "\n";
return 0;
}