in Morse code letter English alphabet represent string length 1 4 Moreover Morse code representation english letter contain dot dash in task represent dot 0 dash 1because 21222324 30 string length 1 4 contain 0 andor 1 correspond 26 english letter in particular string 0 andor 1 length 4 translate distinct english letter follow string correspond English alphabet 0011 0101 1110 1111you work string S initially for m time dot dash append S time your task find report modification stre s number nonempty sequence English letter represent substre S Morse codesince answer incredibly tremendous print modulo 109 7