for J:
0 homer
for A OR B we got : asdf
for string C we got : fdas
for string D we got : 0
for E or F or G we got: asdf