int rate = (int)(int[].Average());