def solution(num, k):
idx = str(num).find(str(k))
if idx == -1:
return idx
else:
return idx + 1
def solution(order):
result = 0
tsn = ["3", "6", "9"]
for n in tsn:
result += str(order).count(n)
return result