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