Samsung Electronics Interview Question

How to merge five different numbers and average depending on the numbers given. answer should be without decimal points.