https://seoi.net/penint/

(Open in an external browser)

Try it for yourself! I was surprised and still don’t know how it guessed- every time!