Results :
In problem KAMIL from size of 71 in python i jumped to 43 in Ruby.
Similarly, problem SIZECON reduced from 48 in python to 44 in Ruby.
In problem KAMIL from size of 71 in python i jumped to 43 in Ruby.
Similarly, problem SIZECON reduced from 48 in python to 44 in Ruby.
main(){exit(!puts("Success"));}
for i in range(10):
b=1
for i in raw_input():
if i in'LFTD':b*=2
print b
q=0
w=input()
while w:
w-=1
a=input()
if a>0:q+=a
print q