Green’s Dictionary of Slang

all the beans n.

[Heinz 57 Varieties, of which baked beans are the best known]

(bingo) the number 57.

[UK]Partridge DSUE (8th edn).
www.ildado.com 🌐 Bingo Nicknames [...] 57. Heinz varieties, All the beans (Heinz 57 varieties of canned beans).