Question: Python 3: Problem When Nathan was X years old, Orion was a quarter of a half of his age. Now Nathan is Y years old.

Python 3:

Problem

When Nathan was X years old, Orion was a quarter of a half of his age. Now Nathan is Y years old. What is Orion's current age?

Input

The first line contains Nathan's earlier age.

The second line contains Nathan's current age.

Output

Print out Orion's current age. Make sure age is a whole number.

Sample Input

8 24

Sample Output

17

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!