This Problem should be under math block.LOL


#1

class Solution:
# @param A : string
# @return an integer
def solve(self, string):
substr=[]
v=[‘a’,‘e’,‘i’,‘o’,‘u’]
i=0
sum=0
for value in string:
if value.lower() in v:
length=len(string)-i
sum+= length
i+=1
return sum%10003