Solving arithmetic problems. Extreme cases