program main
  implicit none

  open(11, file='file.txt', status='old')
  read(11, *) str
  close(11)

end program main