Fill in the blank with the right form of the verb:
He left the house, having _____ his keys on the kitchen counter.
He left the house, having _____ his keys on the kitchen counter.