318 - Chocolate Bars Again
Chocolate Bars Again
Time Limit: 1 sec
Mina has M chocolate bars. Both Mina and Rima got N chocolate bars. Tina got 3 times more chocolate bars than Rima. Tell me how many chocolate bars was there??
Input file contains a series of line. Each line contains two integer numbers M (M < 100000000) and N (N < 100000000). Input is terminated by EOF.
For each line of input output will show a single integer value in a separate line.
Problem Setter: Samia Safa Ahmed