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