Problem #PRU-88058

Problems Algebra and arithmetic Number theory. Divisibility Equations in integer numbers Set theory and logic Joke problem

Problem

In a room, there are three-legged stools and four-legged chairs. When people sat down on all of these seats, there were 39 legs (human and stool/chair legs) in the room. How many stools are there in the room?