Both are good.

Literal

Both-together good.

Maximally simple. とも after 両方 means 'both equally.' よい is the slightly more formal variant of いい — they're the same adjective, with よい as the original form that surfaces in conjugation (よかった, よくない). No copula needed after an い-adjective in plain form.