Smith and his friends are gaming online. An hour later, 6 friends go offline. Five of them continue playing. How many of them were gaming online originally?