A group of children visit a museum. The entrance fee for each child is $3.
For every 3 children, the 4th child is free. The group of children pay $114
altogether, What is the greatest number of children in the group?​