import java.util.Scanner; public class Choyutori { public static void main(String[] args) { Scanner s = new Scanner(System.in); double n = s.nextDouble(); s.close(); int r = (int)Math.sqrt(n/3)+1; System.out.println(r); } }