program firstExample {
  declarations
    a, b, c -> Integer;
    d -> Boolean;

  statements
    a := 1;
    b := 2;
    c := 3;
    if(c==2) 
      then {
        write c;
      };
    if(c==1) 
      then {
        write c;
      }
      else {
        read a;
        write b;
      };
}
