EPAM Systems Interview Question

Write a program to calculate average temperature of cities with given input arrays.