N = int(input()) M=0 all = 1.5*N while M>=1: all -=1 M +=1 print("{}\n".format(M))