let area a b = a * b

let circumference a b = 2 * a + 2 * b

let main a b = Printf.printf "%i %i\n" (area a b) (circumference a b)

(* ;; print_string "input: " *)
;; Scanf.sscanf (read_line ()) "%d %d" main