0

Is it ok to use ‘both’ in a negative sentence?

For example, are the following sentences correct:

a) Both Sumit and Suman did not go to school.
b) Both Ramesh and Suresh did not clear the test.