import sympy print(sympy.fibonacci(int(input()) + 1))