GoldenHippo is playing Scrabble. However, instead of playing normally, he is simply taking tiles out of a bag with practically unlimited tiles, and using them to make a sentence. However GoldenHippo is particularly concerned with the letter
Given the sentence that GoldenHippo made, he wants you to determine the number of
Ls he took, as well as the maximum number of consecutive
Ls taken, without taking another letter tile.
The input will consist of a single line, containing the sentence that was built. The sentence will only consist of uppercase letters and spaces and will be no longer than ~1\,000~ characters.
A single line, with two space separated integers. The first is the total number of
L tiles that were used, and the second is the maximum number of consecutive
Sample Input 1
Sample Output 1
Sample Input 2
Sample Output 2