NAC-SAC Game! (Hard. Well, Not Really. :p)

Remember the game played by Akash and Guru on the NAC-SAC bridge?

(For those cannot remember, Akash and Guru used to play an interesting game on the NAC-SAC bridge. They used to be at the two ends of the bridge. Each of them had number 1 written in on a piece of paper initially and whenever someone crossed the bridge from SAC-NAC, Akash multiplied his current number by 2. Similarly, whenever someone crossed the bridge from NAC-SAC, Guru multiplied his current number by 3. At last when they got tired, they used to meet in the Plaza Area and added up their individual numbers and calculated the remainder when the added number is divided by 1000000007.)


This is a companion discussion topic for the original entry at https://toph.co/p/nac-sac-game-hard-well-not-really-p