Setup

b : = $\func$rand$\left(\vphantom{ 2,5}\right.$2, 5$\left.\vphantom{ 2,5}\right)$

c : = $\func$rand(2, 5)

d : = $\func$rand(2, 5)

q : = $\func$rand$\left(\vphantom{ 2,12}\right.$2, 12$\left.\vphantom{ 2,12}\right)$