import math n=int(input()) Fn=(((1+math.sqrt(5))/2)**n-((1-math.sqrt(5))/2)**n)/math.sqrt(5) print(round(Fn,2))