Amy and Bob have some sweets in the ratio 7:4.
Amy gives Bob 36 sweets and both of them have the same number of sweets.
How many sweets do they have althogether?