EasyRating 900
Damaged SOS
A message of repeated SOS was sent, but some letters changed. Count how many letters differ from SOSSOS…
Input
One string (length a multiple of 3).
Output
One integer.
Sample 1
Input
SOSSPSSQSSOR
Output
3
Sample 2
Input
SOSSOT
Output
1
Output appears here