n=int(input()) ans=0 hoge=0 while n!=hoge: hoge+=2 ans+=1 #print(ans,hoge) if n==hoge: break hoge+=1 ans+=1 #print(ans,hoge) print(ans)