Eight persons- P, Q, R, S, T, U, V and W have bought different stocks in June, July, August and September on 7th and 12th of the month. Only one person was born on each day.
Three persons bought stocks between P and Q.
P bought stocks in 30 days month.
V bought stock immediately after P.
| | Case 1 | Case 2 | Case 3 |
Month | Date | Person | Person | Person |
June | 7th | P | | |
12th | V | P | |
July | 7th | | V | Q |
12th | | | |
August | 7th | Q | | |
12th | | Q | |
September | 7th | | | P |
12th | | | V |
Only one person bought stock between V and W.
R bought immediately before W.
R does not bought stock on prime number date.
Thus, Case 1 and Case 3 get cancelled.
| | Case 2 |
Month | Date | Person |
June | 7th | |
12th | P |
July | 7th | V |
12th | R |
August | 7th | W |
12th | Q |
September | 7th | |
12th | |
As many persons bought stock before U as after S.
U bought stock before S.
| | Case 2 |
Month | Date | Person |
June | 7th | U |
12th | P |
July | 7th | V |
12th | R |
August | 7th | W |
12th | Q |
September | 7th | |
12th | S |
Now, only T is remaining.
Month | Date | Person |
June | 7th | U |
12th | P |
July | 7th | V |
12th | R |
August | 7th | W |
12th | Q |
September | 7th | T |
12th | S |
This is the final arrangement.
U bought stock on 7th June.