A 5.0 kg hammer strikes a 0.25 kg nail with a force of 10.0N, causing the nail to accelerate at 40.0m/s2. What is the acceleration of the hammer?