So they consulted together what they were to do , and at last they arranged that the donkey should stand at the window with his fore-feet on the sill , that the greyhound should get on his back , the cat on the dog 's shoulder , and the cock on the cat 's head .