Publicis Sapient interview question

puzzle regarding timings