Really have to be careful with this topic folks. There is a lot of varying situations that will call for a different reaction…that’s where saddle time and practice helps.
Some things that will change the correct answer:
Cruiser or Sport
Dry high traction surface
Wet slippery limited traction
Gravel or loose traction
Direction of intended travel (or trying not to)
Speed of travel
Traffic congestion
Reaction time and acting on it
So many varying degrees of changes that can be made there is no ONE umbrella answer. For instance if you are on a semi slick road with plenty straight travel distance and need to hammer the brakes ( lets say Deer) more back brake might be more prudent. Sure the rear will skid and can fish tail but if you get enough practice at it (like those of us in rural areas) you know how to keep it from going wide, and to stay on it until stopping. Though this would also be a good point of argument for the ABS crowd. Jamming the front brakes are a good answer here also though most instincts will be to naturally lock up all the oh shit muscles and a slight turn and loss of traction in the front will bring you down quickly. Practice the hard stops as mentioned above and you can minimize that risk. However we are addressing beginners, not gray beards.
Change any of those variables and the right answer or “close enough for government work” answers can apply.