Skip to main content
1 of 3
nimi
  • 35.9k
  • 4
  • 34
  • 99

Haskell, 85 bytes

([h++'-':n++'-':t|h<-c,t<-c,n<-m$['0'..'9']<$"aaa"]!!)
m=mapM id
c=m$['A'..'Z']<$"aa"

Try it online!

nimi
  • 35.9k
  • 4
  • 34
  • 99