Scanf.scanf "%d" (fun t ->
    for i = 1 to t do
        Scanf.scanf " %d %d %d" (fun a b c ->
            let abc = a * b * c in
            Printf.printf "%d %d %d\n" abc abc abc
        )
    done
)