Imports System

Module Program
    Sub Main(args As String())
        Dim sInputA As String() = Console.ReadLine().Split(" ")
        Dim sInputB As String() = Console.ReadLine().Split(" ")
        Dim sInputT As Long = Console.ReadLine()
        Dim iPositionA As Long = Long.Parse(sInputA(0))
        Dim iSpeedA As Long = Long.Parse(sInputA(1))
        Dim iPositionB As Long = Long.Parse(sInputB(0))
        Dim iSpeedB As Long = Long.Parse(sInputB(1))

        Dim Result As String = ""
        For i = 1 To sInputT
            If (iPositionA + (iSpeedA * sInputT)) = (iPositionB + (iSpeedB * sInputT)) Then
                Result = "Yes"
            Else
                Result = "No"
            End If
        Next i
        Console.WriteLine(Result)

    End Sub
End Module
