Three boys collected erasers. Julian collected 3p erasers which was one fifth as many as what Perry collected. Brandon collected 3 erasers less than Julian. How many erasers did they collect altogether? Give the answer in terms of p in the simplest form.