Add the check digit to a barcode number
Adds the GS1 check digit to numbers that don't have one yet: 12 digits become an EAN-13, 11 a UPC-A, 7 an EAN-8 and 13 a GTIN-14. A 0 in front changes nothing, so 03600029145 and 003600029145 both get a 2: the UPC-A and the EAN-13 of the same product share their check digit. Copy gives the complete numbers back one per line, in the order you pasted them.