ABCDEFGH

My friends,—I have spare blankets, and I shall need no more; The tenth man can have my bed, and I’ll sleep on the floor. In room marked A two men were placed; the third was lodged in B; The fourth to C was then assigned, the fifth retired to D; In E the sixth he tucked away, in F the seventh man, The eighth and ninth in G and H, and then to A he ran (Wherein the host, as I have said, had laid two travellers by); Then taking one—the tenth and last—he lodged him safe in I: Nine spare rooms—a room for each—were made to serve for ten. And this it is that puzzles me and many wiser men.

47586980 112233445
576879 91122334446
6778 8102132435456
77 718203142535566
61719304152636576
1627294051626475 5
26283950617274 415
363849607173 31425
3748597081 2132435
39
12
78
39
468
621642627
636630624
633618639
987654321 = 45  or  555555555 = 45
123456789 = 4599999 = 45
864197532 = 45555455556 = 45
The 1st part 8add 2 = 10
" 2nd " 12subtract 2 = 10
" 3rd " 5 multiply by 2 = 10
" 4th " 20divide by 2 = 10
45