Please please please help me with this answer

Joe bought some popsicles. The number of packages he bought was 3 more than the number of popsicles in each package. Joe bought 54 popsicles in all. How many packages of popsicles did Joe buy?