Recently while taking a break from my examination preparation i took a look at SIZECON question of spoj . My solution was of 93 characters in C++ which was not at all good. As i was learning Python I tried it and got solution of 50 characters. Here's my solution (the best in python is of 30 characters).
v=input()
s=0
while v>0:
i=input()
if i>0:s+=i
v-=1
print s