Back

print the 1st and 3rd character of the string?

Created 2 years ago
98 Views
1 Comments
SakthivelHmOLkh
@SakthivelHmOLkh
SakthivelHmOLkh
@SakthivelHmOLkhProfile is locked. Login

Given a string S, print the 1st and 3rd character of the string (chracter index starts from 1).
Input Size : 1 <= N <= 100000
Sample Testcase :
INPUT
codekata
OUTPUT
cd

Comments
Please login to comment.