Question 1082484
A bag of jelly beans had only grape and orange beans in it. The ratio of grape jelly beans to orange jelly beans is 3 to 8. If there are 56 jelly beans in the bag, how many of each kind are there? 
——————————————————————————

G=# Grape jellybeans
R=# Orange jellybeans
---
  G + R = 56  (1)   —>  R = 56-G
  G/R = 3/8   (2)

G/(56-G) = 3/8 
 8G = (56-G)*3
 8G = 168-3G
 11G = 168
     G = 15.272727
     R = 40.727272

Since the answers are not integers, the problem statement is flawed.   Or, I've made a mistake(?)
———