both in tandem..The firewall is going to stop intrusions into your PC (by keeping many ports shut down). The anti-viral software stops malicious code from running on your system.
I think the new computer comes with anti-virus software package that can be upgraded for 12 months, but usually this is not a full-blown "firewall" program, is it?