Number of people who come in shift 2 in library C = 35
Number of people who come in shift 1 in library B = 35 + 1 = 36
Number of people who come in shift 1 in all three libraries together = 36*9/4 = 81
Number of people who come in shift 2 in all three libraries together = 161 - 81 = 80
Number of people who come in shift 2 in library A = 2/3 *(80 - 35) = 30
Number of people who come in shift 2 in in library B = 30/2 = 15
Number of people who come in shift 1 in library A = ½ *(81 - 36 - 5) = 20
Number of people who come in shift 1 in library C = 81 - 36 - 20 = 25
In tabular from -
Library | Shift 1 | Shift 2 |
A | 20 | 30 |
B | 36 | 15 |
C | 25 | 35 |
Total students | 81 | 80 |
Number of people who come in shift 1 in library A = 20
Number of people who come in shift 2 in library A = 30
Required ratio = 20:30 = 2:3