a = [351,761,55,133,12,61,81,82,36,23]
summ, count = 0,0
for i in a:
if i % 3:
summ += i
count += 1
print(summ)
print(count)
a = [351,761,55,133,12,61,81,82,36,23]
summ, count = 0,0
for i in a:
if i % 3:
summ += i
count += 1
print(summ)
print(count)