Alice and Bob each have a certain amount of money. If Alice receives n dollars from Bob, then she will have 4 times as much money as Bob. If, on the other hand, she gives n dollars to Bob, then she will have 8 times as much money as Bob. If neither gives the other any money, what is the ratio of the amount of money Alice has to the amount Bob has?