We used to sing this sometimes at summer camp. I remember once we played this game where you could put one of your camp counselors in "jail" and it was supposed to be for a good reason obvs cause it's camp and the counselors had to sing a song to get out. So the two most popular counselors just had the jail sheets stacking up next to them and couldn't get out because anytime they did, they just got another slip handed to them and had to go back. So instead, they just spent their time in jail playing pattycake with each other and singing this song.