Create an interactive program that takes in two integers and outputs their sum.


Very easy


In this exercise, you have to create a program that asks the user to input two integers, one-by-one, and then outputs their sum.

The first input prompt of the program should be of the form shown below:

x: <input>

Here, <input> denotes the input of the user.

Similarly, the second input should be of the form:

y: <input>

The output should be:

The sum is: <sum>

where <sum> is the sum of the input integers.

Shown below is an example:

x: 10
y: 20
The sum is: 30