Solve challenging math problem through game playing:

Sylvia draws shapes made up of straight lines which are each 1cm long. At
the end of each line she continues in a right angle either to the left or right. At
every turn she notes down either a heart or a spade on a piece of paper. The same
symbol always indicates a turn in the same direction. Today her notes show
H S S S H H . Which of the following shapes could she have drawn today if A
indicates her starting point?