def is_polite(n):
	import math 
	 
	n = n + 1
	return (int)(n+(math.log((n + math.log(n, 2)), 2))) 
def is_polite(VAR_0):
    import math
   
    VAR_0 = VAR_0 + 1
    return (int)(VAR_0 + (math.log((VAR_0 + math.log(VAR_0, 2)), 2)))