program main
  implicit none
  
  integer :: a,b,k,i,out(100)=0,c=0,chk=0,j
  
  read(*,*)a,b,k
  
  do i = a, a+k-1
    c = c + 1
    write(*,*)i
    out(c) = i
  end do
  
  do i = b-k+1, b
    chk = 0
    do j = 1, c
      if (out(c) == i) then
        chk = 1
      end if
    end do
    if (chk == 1) then
      cycle
    else
      write(*,*)i
    end if
  end do
end program main