#include int main(void) { int Ax, Ay, Az, Bx, By, Bz; scanf("%d%d%d%d%d%d", &Ax, &Ay, &Az, &Bx, &By, &Bz); int Cx, Cy, Cz; Cx = Ay * Bz - Az * By; Cy = Az * Bx - Ax * Bz; Cz = Ax * By - Ay * Bx; printf("%d %d %d\n", Cx, Cy, Cz); return 0; }