so far my code working perfectly as long as my first element is single-digit or letter input but somehow value is not assigning to a variable when I put double-digit or letter i