inp 3
# Inputs should be a, b and u, in that order.
mu 1 2 5
mu 5 2 4
mu 4 2 5
mu 5 5 1
mu 1 5 2
mu 4 4 5
mu 5 2 4
mu 4 5 1
mu 3 1 2
mu 3 3 4
mu 3 4 1
# Outputs are c and d in 1 and 2.
