Maryam has 12 cookies. She wants to give each of her 4 friends the same number of cookies. How many cookies will Maryam give each of her friends?