Application to figure out how far in advance should someone should try to book a ticket on the train they want in the class that they want for the ticket to be avaialble.