public class Two { public static void main(String[] args) { String number = args[0]; if (number.equals("bye")) { } else { try { double value = Double.parseDouble( number ); System.out.println( Math.sqrt( value ) ); } catch (Exception e) { System.out.println( number + " is not a number."); } } } }