def printNonRepeatedCharacters(s):
ascii_count = [0] * 256
for i in range (len(s)):
if (s[i] != ' '):
ascii_count[ord(s[i])] += 1
n = i
for i in range(n):
if (ascii_count[ord(s[i])] == 1):
print(s[i], end = "")
s = "python programming"
printNonRepeatedCharacters(s)
'''
run:
ythai
'''