#!/usr/bin/python3

def palindrome_keys(mdic):
	result=[]
	for key, value in mdic.items():
		if isinstance(value,str) and value==value[::-1]:
			result.append(key)
	return result

def main():
	mdic={
	"a": "hannah",
	"b": "radar",
	"c": "manifest",
	"d": "hello"
	}

	print(f"To leksiko: {mdic} kai ta kleidia me palindromes times:", palindrome_keys(mdic))

if __name__=="__main__":
	main()
