Problem2122--Find the position of the specified character

2122: Find the position of the specified character

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 250  Solved: 11
[Submit] [Status] [Web Board] [Creator:]

Description

This problem requires printing the position of the first occurrence of the specified character in the string.

Input

Given a string and a specified character

Output

The position of the first occurrence of the specified character in the string

Sample Input Copy

123456789,1

Sample Output Copy

1

Source/Category

163