Forty patients were randomized into two treatment groups ( each with @ patients ) by using a series of random numbers : group A received ketoprofen @ mg and group B received diclofenac @ mg , all intramuscularly .