The ratio of the number of stickers Sam had to the number of stickers that Amy had was 3:2. Amy bought 26 more stickers and Sam bought 12 more stickers. The ratio of Sam's stickers to Amy's stickers became 3:5. How many stickers did Amy have at first?