Problems
318 - Chocolate Bars Again
SUBMIT PROBLEM

Chocolate Bars Again

Time Limit: 1 sec

 

The Problem

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??

 

 

The Input

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.

 

 

The Output

For each line of input output will show a single integer value in a separate line. 

 

Sample Input

43214321 98769876

41 18467

13931 26308

 

Sample Output

265436541

73745

63439

 

 

 

 

Problem Setter: Samia Safa Ahmed