Generate the output given the program code.
num1 = 2
num2 = 4
print(num1 + num2)
6
Complete the following task based on the instruction and optional input provided.### Instruction:
Generate the output given the program code.

### Input:
num1 = 2
num2 = 4
print(num1 + num2)

### Output:
6