OIOIOI
Toggle navigation
Dashboard
Problems
Ranking
Questions and news
Forum
Solutions
Potyczki Algorytmiczne 2022
Switch contest
Problemset
17:50:05
polski
English
✓
Log in
Register
Log in
Menu
Dashboard
Problems
Ranking
Questions and news
Forum
Solutions
1 2 3
n
=
int
(
input
())
//
10
s
=
input
()
print
(
sum
([
s
[
i
:
i
+
n
]
==
'T'
*
n
for
i
in
range
(
0
,
10
*
n
,
n
)]))