Company: deloitte_26aug
Difficulty: medium
Mother Daughter Age Calculation Problem Description Write a program that accepts two integer inputs: the current age of a mother, mAge , and the current age of her daughter, dAge . The program should determine how many years ago, or how many years hence, will the mother be twice as old as her daughter. Read the input from STDIN and print the output to STDOUT. Do not write arbitrary strings anywhere in the program, as these contribute to the standard output, and test cases will fail. Input Format: The only line of input consists of two numbers mAge and dAge separated by a single space, where mAge represents the current age of the mother and dAge represents the current age of her daughter. Output Format: Single line of output contains how many years ago or how many years hence the mother is twice as old as her daughter. Examples Example 1: Input: 36 7 Output: 22 Explanation: Here, after 22 years the mother's age will be 58 (i.e., 36+22) and the daughter's age will be 29 (i.e., 7+22). So,