All Tracks Problem

Guruji And Hearts
/
No tags
Problem
Editorial
Analytics

My good friend Guruji once submitting his code on forum mistakenly forgot to check language option. His code got pasted in general editor. Due to this many portion of his code got changed. One funny thing which happened was that sub-string "<3" got changed into a heart. Your job is simple, count the number of "<3"(quotes for clarity) in a given string.

|s| deontes the length of string

Constraint: 0 < |s| < 100

Input: It will consist of one line, containing the string

Output: Consist of one line containing an integer.

Sample Input:

abcd<3abc<3ab<3ab

Sample Output:

3

SAMPLE INPUT
abcd<3abc<3ab<3ab
SAMPLE OUTPUT
3
Time Limit: 1.0 sec(s) for each input file.
Memory Limit: 256 MB
Source Limit: 1024 KB

Best Submission

Similar Problems

Contributors

Initializing Code Editor...
Notifications
View All Notifications

?