Thanks for being patient with me but i am still not convinced.
When i said 100 cancellations, i meant 100 cancellations in General and 0 cancellations in tatkal.
(If there are 0 cancellations in tatkal, does that mean that neither Sham nor any of his friends will get confirmed ticket? If that is the case, where is the preference stuff. Ram has a ticket and Sham doesnt. There is no preference)