import java.util.*; public class Test10 { public static void main(String[] args){ Scanner sc=new Scanner(System.in); String line; line=sc.nextLine(); long r=(long)Math.abs(Math.sqrt(Double.parseDouble(line)/3)); System.out.println(r); sc.close(); } }