public class MT1 {
  public static void main(String args[]) {
    System.out.println("1");
    try {
      System.out.println("2");
      // if (true) throw new Exception();
      if (true) throw new Error();
      System.out.println("3");
    } catch (Exception e) {
      System.out.println("4");
    } finally {
      System.out.println("5");
    }
    System.out.println("6");
  }
}
