test = input("CPF: ")
cpf = test[:3] + "." + test[3:6] + "." + test[6:9] + "-" + test[9:]
print(cpf)
#https://pt.stackoverflow.com/q/237371/101
dGVzdCA9IGlucHV0KCJDUEY6ICIpIApjcGYgPSB0ZXN0WzozXSArICIuIiArIHRlc3RbMzo2XSArICIuIiArIHRlc3RbNjo5XSArICItIiArIHRlc3RbOTpdCnByaW50KGNwZikKCiNodHRwczovL3B0LnN0YWNrb3ZlcmZsb3cuY29tL3EvMjM3MzcxLzEwMQ==