num = list(map(int, input().split()))
n3 = 0
n5 = 0
for a in num:
    if a % 3 == 0 :
        n3 += 1
    if a % 5 == 0 :
        n5 += 1

print("Multiples of 3 : {}".format(n3))
print("Multiples of 5 : {}".format(n5))
9f575116a2be2895743bed4ef365077a3578a3ed
<mask token>

<mask token>
for a in num:
    if a % 3 == 0:
        n3 += 1
    if a % 5 == 0:
        n5 += 1
print('Multiples of 3 : {}'.format(n3))
print('Multiples of 5 : {}'.format(n5))

num = list(map(int, input().split()))
n3 = 0
n5 = 0
for a in num:
    if a % 3 == 0:
        n3 += 1
    if a % 5 == 0:
        n5 += 1
print('Multiples of 3 : {}'.format(n3))
print('Multiples of 5 : {}'.format(n5))

num = list(map(int, input().split()))
n3 = 0
n5 = 0
for a in num:
    if a % 3 == 0 :
        n3 += 1
    if a % 5 == 0 :
        n5 += 1

print("Multiples of 3 : {}".format(n3))
print("Multiples of 5 : {}".format(n5))