#38129: python解法


yeyouwei432@gmail.com (我是題號)


n = int(input()) #座號
print(n//3+(n % 3 != 0))