Codechef•Jul 06, 2025
Lucky Seven
Hazrat Ali
Codechef
You are given a string S of length 10, denoting the first 10 letters Chef saw today.
What is Chef's lucky letter?
Input Format
- The only line of input contains a string S, of length 10.
Output Format
- Print a single character: Chef's lucky letter .
Constraints
- S has a length of 10
- S contains only lowercase Latin letters (i.e, the characters
'a'
to'z'
)
Sample 1:
Input
proceeding
Output
d
Solution
st = input()
print(st[6])
print(st[6])