Input (grade 8): The total length is 2285 k, of which 485 k lie within Russia, 595 k within Belarus, and 1095 k within Ukraine.
Output (grade 8): Its total length is 2285 k, of which 485 k lie within Russia, 595 k within Belarus, and 1095 k within Ukraine.