For this Question: In this season of love, everyone wants to surprise each other. 
You are also super excited and you wish to buy roses of 3 different colors. You always buy roses in order, white, yellow, red.
So if you buy 7 roses, they will be "white, yellow, red, white, yellow, red, white".

You need to find the number of yellow roses that you will buy?The only line of input contains a single integer, N, the number of roses that you will buy.

Constraints
1 <= N <= 1000Output a single integer, the number of yellow roses.Sample Input 1
2

Sample Output 1
1

Sample Input 2
8

Sample Ouput 2
3

Explanation;-
testcase1;- 2 flower will be white,yellow
so number of yellow flower is 1, I have written this Solution Code: n=int(input())
x=n/3
if n%3==2:
    x+=1 
print(int(x)), In this Programming Language: Python, Now tell me if this Code is compilable or not?