Masala #EFNGIMDXHW
i-prefix
Barchaga ma`lum bo`lsa kerak \(s\) satridagi prefixlar soni undagi belgilar soniga teng. Agar satrdagi barcha unli harflar sonini \(i\) hafi bilan belgilasak, sizning vazifangiz satrnig \(i-\)prefixini chop etishdan iborat.(Agar masalani tushunmagan bo`lsangiz izohga qarang!!!)
Bitta qatorda \(s(1\leq |s| \leq 100)\) satri kiritiladi.
Masala javobini chop eting.
# | input.txt | output.txt |
---|---|---|
1 |
piton |
pi |
"piton" so`zidagi unli harflar soni 2 ta demak satrdagi 2-prefixni chop etish kerak. Bu esa "pi" satri bo`ladi.("p","pi","pit","pito","piton" ya`ni shu so`zlar ketma ketligidagi 2-so`z)