String factorisation
Factorised input creation