from math import * n = int(raw_input("Please enter something: ")) if n <= 1: print 0; else: print int(ceil(log(n,3)))