You are given a string, S, of length between 3 and 20, consisting of lowercase English letters. Choose three consecutive characters from S to create a nickname. Print the valid nickname. The input is given as S, and the output should be the chosen nickname.

# Buggy version:
S=input()
print("S"[:3])


# Fixed version:
S = input("")
print(S[ :3])

# Buggy version:
import fileinput
 
lines = list(fileinput.input())
 
for x in lines():
	print(x[-3:])

# Fixed version:
import fileinput
 
lines = list(fileinput.input())
 
for x in lines:
	print(x[:3])

# Buggy version:
s = int(input())
print(s[:3].lower())

# Fixed version:
s = input()
print(s[:3].lower())

# Buggy version:
def first_three(str):
	return str[:3] if len(str) > 3 else str
  
  val = input()
 print(first_three(val))


# Fixed version:
def first_three(str):
	return str[:3] if len(str) > 3 else str
  
val = input()
print(first_three(val))

# Buggy version:
S=input()
print("S[0]"+"S[1]"+"S[2]")

# Fixed version:
S = input()

print(S[0]+S[1]+S[2])

# Buggy version:
import sys
import random

def main():
    S = input()
    l = len(S)
    n = [0, 1, l-1]
    out = S[n[0]] + S[n[1]] + S[n[2]]
    
    print(out)
main()

# Fixed version:
import sys
import random

def main():
    S = input()
    l = len(S)
    n = [0, 1, 2]
    out = S[n[0]] + S[n[1]] + S[n[2]]
    
    print(out)
main()

# Buggy version:
# -*- coding: utf-8 -*-

_in = input()

# if True:
#     print(_in)
# else:
#     print(_in)

print(_in[1:3])

# Fixed version:
# -*- coding: utf-8 -*-

_in = input()

# if True:
#     print(_in)
# else:
#     print(_in)

print(_in[0:3])

# Buggy version:
import math
import os
import random
import re
import sys
import collections
import itertools

def solution(data):
    return data[:3]


if __name__=="__main__":
  	a = input()

    print(solution(a))


# Fixed version:
import math
import os
import random
import re
import sys
import collections
import itertools

def solution(data):
    return data[:3]


if __name__=="__main__":
    a = input()
    print(solution(a))

# Buggy version:
print(input([:3]))


# Fixed version:
print(input()[:3:])

# Buggy version:
s = input()
print(s[2], end="")
print(s[1], end="")
print(s[0])

# Fixed version:
s = input()

print(s[0],end="")
print(s[1],end="")
print(s[2],end="")

# Buggy version:
a=input()
print(a)
print(a[0:3])

# Fixed version:
a  = input()
print(a[0:3])

# Buggy version:
a = str(input())

print(a[3:])

# Fixed version:
a = input()

print(a[:3])

# Buggy version:
nickname = input('S ')

print(nickname[:3])

# Fixed version:
S = input()
nickname = S[:3]
print(nickname)

# Buggy version:
S = input()
print(S[3:])

# Fixed version:
S = input()
ans = S[:3]
print(ans)

# Buggy version:
a=input()
print(a[3:])

# Fixed version:
a=input()
b=a[:3]
print(b)

# Buggy version:
s=input()
print(s[:2])

# Fixed version:
s=input()
print(s[:2]+s[2])

# Buggy version:
    s = input()
     
    print(s[0:3])

# Fixed version:
s = input()
t = s[0:3]
print(t)

# Buggy version:
S = int(input())
ans = S[0:3]
print(ans)

# Fixed version:
S = input()
ans = S[0:3]
print(ans)

# Buggy version:
S = input()

print(s[0:3])

# Fixed version:
s =input()
print(s[0:3])

# Buggy version:
S = input()
S = str()

print(S[:3])

# Fixed version:
S = input()
print (S[:3])

# Buggy version:
s = input()
print s[:3]

# Fixed version:
s = input()


print(s[:3])