Imports System.Collections.Generic
Imports System.Console

Module Program
    Sub Main()
        Dim x1 As Integer = NextInt()
        Dim y1 As Integer = NextInt()
        Dim x2 As Integer = NextInt()
        Dim y2 As Integer = NextInt()

        Dim a As Integer = x2 - x1
        Dim b As Integer = y2 - y1

        Dim x3 As Integer = x2 - b
        Dim y3 As Integer = y2 + a
        Dim x4 As Integer = x3 - a
        Dim y4 As Integer = y3 - b

        Dim i As Integer = 0
        For Each j As Integer In New Integer() {x3, y3, x4, y4}
            If i <> 0 Then Write(" ")
            Write(j)
            i += 1
        Next
        WriteLine()
    End Sub

    Function NextInt() As Integer
        Return CInt(NextString())
    End Function

    Function NextString() As String
        Dim result As New List(Of Char)
        Do
            Dim tmp As Integer = Read()
            If tmp < 0 Then Exit Do
            Dim nextChar As Char = Chr(tmp)

            If Not Char.IsWhiteSpace(nextChar) Then
                result.Add(nextChar)
            ElseIf nextChar <> vbCr Then
                Exit Do
            End If
        Loop
        Return New String(result.ToArray())
    End Function

End Module
