Test generator for problems A and B
Test generator for problems A and B