      program prog
      read(5, *) num
      write(6, *) num+1
      end
