your friend type keyboard sometimes type character c key long press character type 1 timesyou examine type character keyboard return true possible friend character possibly long press Example 1input alex type aaleexOutput trueExplanation e alex long pressedexample 2input saeed type ssaaeddoutput falseexplanation e press twice type output Constraints1 namelength typedlength 1000name type consist lowercase english letter