Hackerrank - Repeated String Solution
Lilah has a string, , of lowercase English letters that she repeated infinitely many times.
Given an integer, , find and print the number of letter a's in the first letters of Lilah's infinite string.
For example, if the string and , the substring we consider is , the first