Public Class Sample
    Sub Main()
        Dim input As String() = Console.ReadLine.Split(" "c)

        Dim num1 As Integer = Convert.ToInt32(input(0))
        Dim num2 As Integer = Convert.ToInt32(input(1))

        Dim numberList As New List(Of String)

        For index As Integer = num2 - num1 + 1 To num2 + num1 - 1
            If (index < -1000000) Then
                Continue For
            End If
            If (index > 1000000) Then
                Continue For
            End If
            numberList.Add(index)
        Next

        Dim answer As String = String.Join(" ", numberList.ToArray)

        Console.WriteLine(answer)

    End Sub
End Class