We are given $n$ and $k$, with $1 \leq k \leq n \leq 50, n \geq k$, followed by $n$ non-increasing values: $a_1,\dots,a_n$. Each $a_i$ is the score of the player who got $i$-th place, and $0 \leq a_i \leq 100$. We want to know how many participants, out of $n$, have positive scores that are greater than or equal to $a_k$.