#!/usr/bin/env python3
# Clear INFO field
#
import sys

for line in sys.stdin:
    if line.startswith("#"):
        print(line.strip())
    else:
        fields = line.strip().split("\t")
        fields[7] = "."
        print("\t".join(fields))
