This is a failure of the triple-lip seal and tub bearing, a job that requires special tools to perform. The actual repair kit is only about $53, but the special tools will run you another $140 or so and you'll only need them if you intend to keep the machine around a few years. See the Maytag/Amana Washer Manual
for details on this repair.
Bearing and Seal Kit-