#891. 求出含m的个数

求出含m的个数

Description

给定一个整数x和一位数m,求x中m的个数

Format

Input

两个整数,x和m

Output

m的个数

Samples

123454 4
2

Limitation

1s, 1024KiB for each test case.