Arista Networks interview question

predicting function output