Created
April 22, 2018 20:54
-
-
Save jakab922/70700f611e5b785cc35d15b2e0c70157 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
n = int(raw_input().strip()) | |
acc = [] | |
for _ in xrange(n): | |
c = int(raw_input().strip()) | |
if c >= 90: | |
acc.append(c) | |
if acc: | |
print "%.2f" % (sum(acc) / float(len(acc))) | |
else: | |
print "0.00" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment