f = open("gogo.txt", 'r')
while f:
line = f.readline().strip()
#print(line)
if("SamAccountName" in line):
print(line.replace("SamAccountName: ",""),end=":")
elif("NTHash:" in line):
print(line.replace("NTHash: ",""))
if line == "":
break
f.close()