_ = input() at_bats = [x for x in map(int, input().split()) if x >= 0] print(sum(at_bats) / len(at_bats))