Rail Rail Brain teaser

RAIL RAIL Brain Teaser with Answer