Imports System
Public Module Module1
Public Sub Main()
Dim value As Integer = 1500
If value >= 1000 Then
Console.WriteLine(String.Format("{0} W", value / 1000))
Else
Console.WriteLine(String.Format("{0} mW", value))
End If
End Sub
End Module