import java.io.*;

public class excep
 { 
     public static void main(String args[]) throws IOException
      {input in = new input();
          
       System.out.println("Enter a number ");
       int n = in.getInt();
       System.out.println("Enter another number ");
       int b = in.getInt();
       int ans;
       try
        {ans = n/b;
        }
       catch(ArithmeticException e) {
           System.out.println("Divide by zero");
        }
        
        System.out.println("Program continues without crashing");
    }
}