Generate a program in Python to compute the maximum of two given numbers.
Number 1: 8
Number 2: 4
num1 = 8
num2 = 4
 
if (num1 > num2):
    print("The maximum of the given numbers is: "+str(num1))
else:
    print("The maximum of the given numbers is: "+str(num2))