By stars and bars, there are 5 bars and 18 stars, so there are \({23 \choose 5} = 33,649\)
But, this overcounts for the cases where x is greater than 10.
If x is 18, there are 0 stars and 4 bars which makes for \({4 \choose 4} = 1 \) case.
If x is 17, there are \({5 \choose 4} = 5\) cases
If x is 16, there are \({6 \choose 4} = 15\)
Notice a pattern?
This pattern will continue until \({11 \choose 4}\). Summing all these up gives us \(792\) cases.
So, there are \(33649 - 792 = \color{brown}\boxed{32,857} \) cases.