11542 - Rap of china   

Description

There're tons of Chinese rap singers rising because of the Chinese TV-show "The Rap Of China".

Hence they call 2017 "The Hip-Hop Year".

Lots of fans imitate these remarkable rappers like PG One and GAI.

 

PG One always wears 3 gold chains with 4 silver rings.

GAI always wears 2 gold chains with 3 silver rings.

 

Please calculate the fans number supporting each singer (PG One and GAI) by the above information and the formatted input like the following example.

Input

There are 2 inputs.

Totoal number of gold chains and silver rings.

The number will be less than 2*1010 and bigger than 0.

 

Output

Print number of the fans of PG One and GAI respectively.

Sample Input  Download

Sample Output  Download

Tags




Discuss