Problem:
 Score : 100 points    Problem Statement There are N students in a school.  We will divide these students into some groups, and in each group they will discuss some themes.  You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible.  Divide the students so that the number of groups consisting of three or more students is maximized.      Constraints  1 \leq N \leq 1000  All input values are integers.         Input Input is given from Standard Input in the following format:  N       Output If you can form at most x groups consisting of three or more students, print x .        Sample Input 1 8      Sample Output 1 2  For example, you can form a group of three students and another of five students.       Sample Input 2 2      Sample Output 2 0  Sometimes you cannot form any group consisting of three or more students, regardless of how you divide the students.       Sample Input 3 9      Sample Output 3 3

Solution (Python):
n = int(input())

print(n // 3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N=int(input())

print(N//3)

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N=int(input())
print(N//3)

Solution (Python):


import numpy as np

n=int(input())
print(n//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())

print(N // 3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
N = int(input())
print(N // 3)

Solution (Python):
n = int(input())

print(n//3)

Solution (Python):
N = int(input())
print(int(N//3))

Solution (Python):
n = int(input())

print(n//3)

Solution (Python):
import sys
input = sys.stdin.readline
N = int(input())
if N < 3 :
    print(0)
else :
    print(N//3)

Solution (Python):
print(int(int(input()) / 3))

Solution (Python):
import math
import queue
import bisect
import heapq
import time
import itertools

mod = int(1e9+7)

def swap(a,b):
    return (b,a)

def my_round(a,dig=0):
    p = 10 ** dig
    return (a * p * 2 + 1) // 2 / p

def gcd(a,b): 
    if (a<b):
        a,b = swap(a,b)
    if (b==0):
        return a
    else:
        return gcd(b,a%b)

def lcm(a,b): 
    return a/gcd(a,b)*b

def divisors(a): 
    divisors = []
    for i in range(1,int(a**0.5)+1):
        if a%i==0:
            divisors.append(i)
            if i!=a//i:
                divisors.append(a//i)
    return divisors

def is_prime(a): 
    if a<2:
        return False
    elif a==2:
        return True
    elif a%2==0:
        return False
    sqrt_num = int(a**0.5)
    for i in range(3,sqrt_num+1,2):
        if a%i==0:
            return False
    return True

def prime_num(a): 
    pn = [2]
    for i in range(3,int(a**0.5),2):
        prime = True
        for j in pn:
            if i%j==0:
                prime = False
                break
        if prime:
            pn.append(i)
    return pn

def prime_fact(a): 
    sqrt = math.sqrt(a)
    res = []
    i = 2
    if is_prime(a):
        res.append(a)
    else:
        while a!=1:
            while a%i==0:
                res.append(i)
                a //= i
            i += 1
    return res

def main():
    n = int(input())
    print(n//3)
    return

if __name__=='__main__':
    main()

Solution (Python):
N=int(input())
print(N//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())

print(N//3)

Solution (Python):
n = int(input())
print(int(n/3))

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
n = int(input())

print(n//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
a=int(input())
print(a//3)

Solution (Python):
n = int(input())
ans = n // 3
print(ans)

Solution (Python):
import sys
input = sys.stdin.readline
N=int(input())
print(N//3)

Solution (Python):
import sys
input = sys.stdin.readline
N = int(input())
print(N//3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
print(int(input())//3)

Solution (Python):

n = int(input())
print(n//3)

Solution (Python):
n = int(input())

print(int(n/3))

Solution (Python):
import sys
input = sys.stdin.readline
N = int(input())
print(N // 3)

Solution (Python):
n = int(input())

print(int(n/3))

Solution (Python):
n=int(input())

print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())
ans = n // 3
print(ans)

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
n = int(input())
print(int(n / 3))

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())

print(n//3)

Solution (Python):
n = int(input())
a = 0
a = n/3

print(int(a))

Solution (Python):
hito=int(input())
ninn=hito//3
print(ninn)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
n = int(input())
if n < 3:
  print(0)
else:
  print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())
print(N // 3)

Solution (Python):
print(int(input())//3)

Solution (Python):
import sys

n = int(sys.stdin.readline().rstrip())

def main():
    return n // 3

if __name__ == '__main__':
    ans = main()
    print(ans)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
from sys import stdin


def fetch_one_line():
    return stdin.readline().rstrip()


def fetch_int_input():
    return [int(s) for s in fetch_one_line().split()]


def fetch_inputs(times):
    return [fetch_one_line() for _ in range(times)]


def fetch_int_inputs(times):
    return [[int(s) for s in fetch_one_line()] for _ in range(times)]

num = int(fetch_one_line())

print(int(num / 3))

Solution (Python):
a=int(input())
if a<3:
  print(0)
elif a%3==0:
  print(a//3)
elif a%3==1:
  print((a-1)//3)
else:
  print((a-2)//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
N = int(input())

print(N//3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
import math

n = int(input())
print(n // 3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
a = int(input())

print(a // 3)

Solution (Python):
print(int(int(input())/3))

Solution (Python):
print(int(int(input()) / 3))

Solution (Python):
N = int( input() )
print( N // 3 )

Solution (Python):
n=int(input())

print(n//3)

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
n = int(input())
if n <= 2:
    print(0)
else:
    print(n//3)

Solution (Python):
N = int(input())
print(N // 3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
n = int(input())
ans = n // 3
print(ans)

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
import math

n=int(input())

print(int(math.floor(n/3)))

Solution (Python):
x = int(input())
print(x//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())

print((n - n % 3) // 3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
h =int(input())

print(int(h/3))

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())

print(N // 3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
n = int(input())
ans = n //3
print(ans)

Solution (Python):
N = int(input())
print(N // 3)

Solution (Python):

import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**6)

n = int(input())
print(n//3)

Solution (Python):
N = int(input())
G = N // 3
print(G)

Solution (Python):
N = int(input())
G = N // 3
print(G)

Solution (Python):
N = int(input())
G = N // 3
print(G)

Solution (Python):
N = int(input())
G = N // 3
print(G)

Solution (Python):
N=int(input())
print(N//3)

Solution (Python):
print(int(int(input()) / 3 ))

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
n = int(input())

print(n//3)

Solution (Python):
N = int(input())
print(int(N//3))

Solution (Python):
n = int(input())

print(n//3)

Solution (Python):
n = int(input())

print(n//3)

Solution (Python):
N = int(input())
print(int(N/3))

Solution (Python):
N = input ()
N = int (N)
print (N//3)

Solution (Python):
n=input()
n=int(n)
print(n//3)

Solution (Python):
N=input()

N=int(N)

n=N//3

print(n)

Solution (Python):
n=input()
n=int(n)
print (n//3)

Solution (Python):
n = input()
n = int(n)

print(n//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits

def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
MOD = 10 ** 9 + 7

N = INT()
print(N//3)

Solution (Python):
size = int(input())
print(size//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input().split()[0])
print(n // 3)

Solution (Python):


N=int(input())

print(N//3)

Solution (Python):
N = int(input())

print(N//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())

print(n // 3)

Solution (Python):

print(int(input())//3)

Solution (Python):

import math




N = int(input())


if N >= 3 :
  print (math.floor(N/3))
else :
  print (0)

Solution (Python):
N = int(input())
print(N // 3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
N = int(input())

print(N//3)

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
n = int(input())

print(n//3)

Solution (Python):
def examA():
    N = I()
    ans = N//3
    print(ans)


import sys,copy,bisect,itertools,heapq,math
from heapq import heappop,heappush,heapify
from collections import Counter,defaultdict,deque
def I(): return int(sys.stdin.readline())
def LI(): return list(map(int,sys.stdin.readline().split()))
def LSI(): return list(map(str,sys.stdin.readline().split()))
def LS(): return sys.stdin.readline().split()
def S(): return sys.stdin.readline().strip()
mod = 10**9 + 7
inf = float('inf')

examA()

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
n = int(input())
if n % 3 == 0:
  print(int(n / 3))
else:
  print(int(n / 3))

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
from sys import stdin
import numpy as np
import math

n = int(stdin.readline().rstrip())

print(n//3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
n = int(input())

print(n // 3)

Solution (Python):
n = int(input())

print(n//3)

Solution (Python):
N = int(input())
print(N // 3)

Solution (Python):
N = int(input())

print(N // 3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
n = int(input())
if n % 3 == 0:
	print (int(n/3))
else:
	print (n//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n=int(input())
print(int(n/3))

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
import sys

sys.setrecursionlimit(10 ** 6)
input = sys.stdin.readline
int1 = lambda x: int(x) - 1

def main():
    n=int(input())
    print(n//3)

main()

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())
 
if N % 3 == 0:
  print(int(N/3))
else:
  print(int(N//3))

Solution (Python):

N = int(input())
print(N//3)

Solution (Python):


import sys








def main():
    n = int(sys.stdin.readline().rstrip())
    ans = n // 3
    print(ans)


if __name__ == "__main__":
    
    main()

Solution (Python):
x = int(input())
print(x//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
x = int(input())

print(x//3)

Solution (Python):
N = int(input())

div = N // 3
print(div)

Solution (Python):
n = int(input())

print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())
print(int(n / 3))

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
N = int(input())
print(N // 3)

Solution (Python):
N = int(input())
print(N // 3)

Solution (Python):

N = int(input())
print(int(N/3))

Solution (Python):

n = int(input())
print(n // 3)

Solution (Python):
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    n=INT()
    print(int(n/3))
if __name__ == '__main__':
    do()

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
n=int(input())
print(int(n/3))

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
n = int(input())
print(n//3 if n>=3 else 0)

Solution (Python):
N = int(input())
print(N // 3)

Solution (Python):
print(int(int(input()) / 3))

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())

print(N//3)

Solution (Python):
n = int(input())
print(0 if n<3 else n // 3)

Solution (Python):
n = int(input())
print(int(n/3))

Solution (Python):
print(int(input()) // 3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
N = int(input())

print(N//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
N = int(input())
ans = N // 3
print(ans)

Solution (Python):
print(int(input())//3)

Solution (Python):
N=int(input())
print(N//3)

Solution (Python):
N = int(input())

print(N//3)

Solution (Python):
N=int(input())

print(N//3)

Solution (Python):
import math

n = int(input())
print(math.floor(n/3))

Solution (Python):
N = int(input())

print(N//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
N = int(input())

print(N//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
N = int(input())
print(N // 3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
n=int(input())

print(n//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
def slove():
    import sys
    input = sys.stdin.readline
    n = int(input().rstrip('\n'))
    print(n // 3)


if __name__ == '__main__':
    slove()

Solution (Python):
def aa089():
    n = int(input())
    if n <= 2:
        print(0)
    else:
        print(int(n/3))

aa089()

Solution (Python):
import sys

input = sys.stdin.readline


def main():
    n = int(input())
    print(n // 3)


if __name__ == "__main__":
    main()

Solution (Python):
print(int(input())//3)

Solution (Python):
X=int(input())

print(X//3)

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
print(int(input())//3)

Solution (Python):
x=int(input())
print(x//3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
x = int(input())
print(x//3)

Solution (Python):

N = int(input())
print(N//3)

Solution (Python):
s = int(input())
if s<3:
  print(0)
elif s%3 == 0:
  print(s//3)
elif s%3 == 1:
  print((s//3))
else:
  print((s//3))

Solution (Python):
n = int(input())

print(n//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
a = int(input())
print(int(a/3))

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
N = int(input())
if N < 3:
    print(0)
elif N//3 == 0:
    print(3)
else:
    print(N//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):

N = int(input())
print(N//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())

print(N//3)

Solution (Python):
n = int(input())
print(int(n/3))

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
N = int(input())

x = int(N / 3)
print(x)

Solution (Python):
n = int(input())
print(int(n//3))

Solution (Python):
n=int(input());print(n//3)

Solution (Python):
n = int(input())
ans = 0
while n > 2:
  n -= 3
  ans += 1
print(ans)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(int(input())/3))

Solution (Python):
print(int(int(input())/3))

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())

print(n // 3)

Solution (Python):
N=int(input())

print(N//3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):


def resolve():
  n = int(input())
  print(n // 3)


if __name__ == "__main__":
    resolve()

Solution (Python):
print(int(input()) // 3)

Solution (Python):
print(int(input().strip())//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
N =int(input())
print(N//3)

Solution (Python):
N = int(input())

N = int(N/3)

print(N)

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())
ans = N // 3
print(ans)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())

print(N // 3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
a=int(input())
ans=int(a/3)
print(ans)

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
import math

n = int(input())
print(math.floor(n/3))

Solution (Python):
print(int(input())//3)

Solution (Python):
import sys

if sys.platform =='ios':
    sys.stdin=open('input_file.txt')
    
n=int(input())

print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):

n = int(input())
print(n//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
n = int(input())

print(int(n/3))

Solution (Python):
N = int(input())

print(N // 3)

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):

print(int(input()) // 3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
print(int(input())//3)

Solution (Python):
def func():
    cnt = 0
    def m(n):
        nonlocal cnt

        if n < 3:
            return cnt
        if n != 0:
            cnt += 1

        m(n-3)
        return cnt
    return m

n=int(input())

f=func()
print(f(n))

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
N = int(input())
groups = 0
for i in range(2, N, 3):
    groups += 1
print(groups)

Solution (Python):
from collections import deque
import sys
sys.setrecursionlimit(10**7)
input = sys.stdin.readline

def solve():
  n = int(input())
  print(n//3)
solve()

Solution (Python):
import sys
import math
from fractions import gcd





def lcm(a, b):
    return a * b // gcd(a, b)

def combination_count(n, r):
    return math.factorial(n) // (math.factorial(n - r) * math.factorial(r))

def permutations_count(n, r):
    return math.factorial(n) // math.factorial(n - r)

big_prime = 1000000007

"""


 =  sys.stdin.readline().rstrip()
 =  list(sys.stdin.readline().rstrip())


 =  int(sys.stdin.readline())
 =  map(int, sys.stdin.readline().split())
 =  list(map(int, sys.stdin.readline().split()))
 =  [list(map(int,list(sys.stdin.readline().split()))) for i in range(N)]
"""


N = int(sys.stdin.readline())

print(N // 3)

Solution (Python):
n = int(input())

print(n // 3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
n = int(input())
if 1 <= n <= 1000:
    print(n // 3)
else:
    print('hoge!')

Solution (Python):
N = int(input())

print(N//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
a = int(input())
print(int(a/3))

Solution (Python):
import math
a=int(input())
print(math.floor(a/3))

Solution (Python):
print(int(input())//3)

Solution (Python):
ans = 0
num = int(input())

while(1):
  if num>=3:
    ans += 1
    num -= 3
  else:
    break
    
print(ans)

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())

print(int(N / 3))

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
import sys
from statistics import *
from collections import *
from operator import itemgetter
stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline()

n = ni()
print(n // 3)

Solution (Python):
a = int(input())
print(a//3)

Solution (Python):
N = int(input())

print(N // 3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())
r = N//3
print(r)

Solution (Python):


print(int(input())//3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
a = int(input())
print(a//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
n = int(input())

print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
def resolve():
    print(int(input()) // 3)


if __name__ == "__main__":
    resolve()

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
n = int(input())
print(int((n)/3))

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
n = int(input())
print(int(n/3))

Solution (Python):
n = int(input())
print( n// 3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n=int(input())

ans=0
if n<3:
  print(0)
  exit()
while True:
  ans+=1
  if n-3>=3:
    n=n-3
  else:
    break
print(ans)

Solution (Python):
N=int(input())
print((N-N%3)//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())
ans = n // 3
print(ans)

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
def main():
    N = int(input())
    return N // 3

if __name__ == '__main__':
    print(main())

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):


N = int(input())

print(N // 3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
N=int(input())
print(N//3)

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
N=int(input())

print(N//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
N=int(input())
print(N//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
print(int(input()) //3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N=int(input())
print(N//3)

Solution (Python):
N = int(input())
N = int(N / 3)

print(N)

Solution (Python):
def test():
    n = int(input())
    print(int(n/3))


if __name__ == "__main__":
    test()

Solution (Python):
n = int(input())

print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
n =int(input())
print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n=int(input())
from math import floor
print(floor(n/3))

Solution (Python):
n = int(input())

print(n//3)

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
a = int(input())

if a < 3:
  print(0)

else: 
  print(a // 3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):

N=int(input())
print(N//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
N=int(input())

print(int(N/3))

Solution (Python):
print(int(input()) // 3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())

print(n//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):

def main():


    N = int(input())

    print(int(N/3))
    


if __name__== "__main__":
    main()

Solution (Python):
N = int(input())
N1 = N // 3
print(N1)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
x = int(input())
print(x // 3)

Solution (Python):
n =int(input())
print(n//3)

Solution (Python):
N = int(input())
print(N // 3)

Solution (Python):
import math
n=int(input())
print(math.floor(n/3))

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
x=int(input())
print(x//3)

Solution (Python):
def main():
    N = int(input())

    print(N // 3)



main()

Solution (Python):
print(int(input()) // 3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print (int(input())//3)

Solution (Python):
n=int(input())
print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
N = int(input())

print(N//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):

n = int(input())
print(n // 3)

Solution (Python):

N = int(input())

N //= 3

print('%d' %(N))

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
a=int(input())
print(a//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
print(int(input())//3)

Solution (Python):
a=int(input())
print(a//3)

Solution (Python):
a = int(input())
print( a // 3 )

Solution (Python):
print(int(input()) // 3)

Solution (Python):


N = int(input())
print(N//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())

print(n//3)

Solution (Python):
import math
n = int(input())
if n < 3:
  print(0)
else:
  print(math.floor(n/3))

Solution (Python):
N = int(input())
n = 0
while N >= 3:
  n += 1
  N -= 3

print(n)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
N = int(input())
print(N // 3)

Solution (Python):
n = int(input())
print(int(n//3))

Solution (Python):
a = int(input())
if a < 3:
    print(0)
else:
    print(a//3)

Solution (Python):
print(int(input())//3)

Solution (Python):

n = int(input())
print(n // 3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
n = int(input())
print(n // 3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
N = int(input())
print(N//3)

Solution (Python):
N=int(input())
print(N//3)

Solution (Python):
n = int(input())
print(n//3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
x = int(input())
print(int(x/3))

Solution (Python):
d=int(input())
print(d//3)

Solution (Python):
print(int(input()) // 3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input())//3)

Solution (Python):
print(int(input()) // 3)