a [2]
b [1]
x [40]
y [41]
p [1]
q [20]
r [21]