2003' ACM/ICPCѵϰ 20

F: Numbering the Paths