Recently I attended a birthday party. All the
children in the party were having candy bars. All the children got three candy bars each except the child sitting in the end. She got only two candy bars. If only each child had been given two candy bars there would have been eight candy bars remaining. How many candy bars were there altogether to begin with?