Result

AC

Duration

493ms

Code [DL]

read "%d+" ↔ O "l" = O "k" = O "j" = [
read "%d+" ↔ O l - z = O k - y = O j - x = [
read "%d+" ↔ O l - Z = O k - Y = O j - X = [
read "%d+" ↔ O l - x Y * X y * - * P → O k - z X * Z x * - * P → O j - y Z * Y z * - * P + 6 //

stdin

64 69 06
18 97 20
47 44 53
50 77 51

stdout

10873

stderr