#include <iostream>
 
int main() {
    int l;
    std::cin >> l;
    std::cout << (l + 1) * (l + 1);
    return 0;
}