Problem solving via the AMC