When a force F is acting on an object of mass m, the acceleration of the object is (Newton's second law)

The first object has a mass of 10 kg and a force of 20 N is acting on it, so its acceleration is

The second object has a mass of 18 kg and a force of 30 N is acting on it, so its acceleration is

So, the first object has higher acceleration.