#include int main() { int A; std::cin >> A; std::cout << 2 * A - 1 << std::endl; }