Bryan has a collection of baseball cards which he shares equally with his brother, Jude. Bryan also received five cards from his friend, Gene. If Bryan has 12 baseball cards now, how many cards did he originally have in his collection?