var c : array [1..15] of real; s : real; i : byte; begin s := 0; for i := 1 to 15 do read (a); for i := 1 to 15 do if a <> 0 then s := s * a; writeln (s); end.