Jessica had 3 times as many postcards as Antonio. After Jessica gave 30 postcards to her friend and Antonio received 30 postcards from his friend, Antonio had 3/4 as many postcards as Jessica. How many postcards did they have altogether in the beginning?