// "Swap 'if' statements" "true-preview"
class A {

  void m() {

    if (a) {
      System.out.println(1);
    } else if (c) {
      System.out.println(3);
    } else if (b) {
      System.out.println(2);
    } else if (d) {
      System.out.println(4);
    } else {
      System.out.println(5);
    }

  }

}