M Magnetic

The taller of two masts is

the Mainmast. If it is the after of two then the forward one is the Foremast,

but if the main is to the fore then the lower after mast is the Mizzen.