Jack gives half of his baseball card collection to Bobby. He then loses 5 of his remaining cards. He now has 13 baseball cards. How many cards did he start with?