The Jug Band

“Using just that 5 pint jug and that there 12 pint jug, measure me 1 pint of water!” Is this possible with just the two jugs? What about a 7 pint jug and 17 pint jug? Or p pint and q pint jugs?

Classifications