A video game system and several games are sold for $560. The cost is the games is 3 times as much as the cost of the system. Find the cost of the system and the cost of the games.