Polycarpus sure life fit description white stripe black white so Polycarpus sure rule go fulfill n day Polycarpus know w good event b notsogood event at event go place day as day unequivocally characterize white black stripe day go event type ether good notsogoodwhat number distinct way scenario develop n day Polycarpus white stripe stripe good event stripe length 1 day black stripe stripe notsogood event stripe length 1 day white stripe stripe good event stripe length 1 day each n day belong stripe onlyNote event type distinct even event occur day order simultaneous eventsWrite code print number possible configuration sort event day see sample clarification scenario consider distinct Print answer modulo 1000000009 1099