First Half!! @ Dcoder

Words
36
Reading
1 min
Listen
Play
3y

Problem: Given a string return its first half.Assume string to have even number of characters.
Input: Input contains a string
Output: Print the first half of string.
Constraints: 0≤string length≤100
Sample Input: Dcoder
Sample Output:
Dco

s = input()
print(s[:len(s)//2])