Mr. Abraham baked 3 trays of 36 cookies. After they cooled he divided the cookies evenly into 4 bags. How many cookies did Mr. Abraham place in each bag?