Count the letters
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Given a string and a letter . How many times the letter appears in the string?
Input
First line contains string with no more than symbols. Second line contains lowercase letter of Latin alphabet.
Output
Print how many times letter appears in the string . Uppercase and lowercase letter considered the same. For example, and considered the same letters.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 12K
Acceptance rate 50%