import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); double num=Double.parseDouble(br.readLine()); br.close(); int count=1; while(true){ double tmp=Math.sqrt(count*num); if(tmp-Math.floor(tmp)>0){ count++; continue; } break; } System.out.println(count); } }