Harry Potter needs our help to identify which traits characterize each house.
Read a string that represents a house and output the following:
if it is
gryffindor, outputbravery;if it is
hufflepuff, outputloyalty;if it is
slytherin, outputcunning;if it is
ravenclaw, outputintellect;if otherwise, output
not a valid house.