Axle Nut Size for Front Axle

Hi there! I’m new to the forum and have a 2015 Sportsman 570 (non eps) and recently changed my rear wheel bearings and the Axle Nut was 27 mm on the rear axles however the front one is smaller.

Anyone know the size of the front Axle Castle Nut off hand as I need to head to purchase a socket for it?

this may be pushing it but anyone know the socket size to drive out the Front Wheel Bearing from the hub to go around the outer ring without breaking the hub when pushing out.

Thanks!
Mike