Help identify master cylinder

What are the fitting sizes? I've learned that those can vary from application to application.

1/2 in front and 9/16 in back.