The aim of the study is to test the efficiency of intravenous administration of metoprolol versus intravenous administration of amiodarone in the prevention of atrial fibrillation after cardiac surgery.