#include int main() { long long n; scanf("%lld", &n); printf("%lld\n%d\n", n * n, 2); return 0; }