Jack had $80 more than Eric. When Jack spent $30, he found that the amount of money he had left was twice s much as Eric had. How much did the boys have altogether at the beginning?