local a, b, k = io.read("*n", "*n", "*n")
local z = {}
local t = {}
for i = a, b do
  if i < a + k then
    table.insert(t, i)
    z[i] = true
  else
    break
  end
end
for i = b, a, -1 do
  if b < i + k then
    if not z[i] then table.insert(t, i) end
  else
    break
  end
end
table.sort(t)
print(table.concat(t, "\n"))
