2022-10-06 22:34:57 +00:00
|
|
|
#! /usr/bin/python3
|
2018-08-07 04:50:37 +00:00
|
|
|
|
|
|
|
|
import sys, fileinput
|
|
|
|
|
pc=15
|
|
|
|
|
for l in fileinput.input():
|
|
|
|
|
ll=l.split(';')
|
|
|
|
|
if len(ll) > pc:
|
|
|
|
|
lll=ll[pc].split('.')
|
|
|
|
|
if len(lll)==2 and len(lll[1])<3:
|
|
|
|
|
ll[pc] = '.'.join((lll[0], '0'*(3-len(lll[1])) + lll[1]))
|
|
|
|
|
sys.stdout.write(';'.join(ll))
|