import java.io.*;
class Compute {
public int devided(int i)throws ArithmeticException{
return 100/i;
}
public Compute(){
try{
int x;
x = System.in.read();
devided(x);
}
catch(ArithmeticException ae){
System.out.println("Devided by 0");
}
catch(IOException ioe){
System.out.println("Read Error");
}
}
}
public class ExceptionSample{
public static void main(String[] args){
new Compute();
}
}