All spaced out
Always insert a space between an SI symbol and its number. The space is more than just a convention: it is a requirement of the international and Australian standards that govern the use of SI symbols.
Small m or big M?
The abbreviation m is used as a suffix after a number (50m), and the SI prefix M is used before a unit of measure (50 Mt). They are not interchangeable.