#25933: 好欸一行解


7777jack77 (sheng77)


print(((int(input())-1)//3)+1)

 

py