Calculate the following expression: 3x + 10
x = 4
The value of the expression 3x + 10 when x = 4 is 3 * 4 + 10 = 12 + 10 = 22.
Complete the following task based on the instruction and optional input provided.### Instruction:
Calculate the following expression: 3x + 10

### Input:
x = 4

### Output:
The value of the expression 3x + 10 when x = 4 is 3 * 4 + 10 = 12 + 10 = 22.