A group of women arranged 3 822 bricks in 49 piles. Each pile had the same number of bricks. How many bricks were in each pile?