andrew has seven fewer coins than casey. bob has three more than twice as many coins as andrew. altogether, they have 502 coins. how many coins does bob have?