Automatically assign Contacts to Account owners

Automatically assign Contacts to Account owners

Hi, 
I have a finite number of accounts set up in the CRM, and each new contact that comes in is automatically assigned to an Account according to a rule I set up. 

I want the Contact owner in the Contacts module to be assigned to the relevant Account owner. What is the best way to set this up? automation using Assign Owner does not allow me to choose according to the user that is managing the account.