import java.util.*;

public class Main {

	public static void main(String[] args) {

		// 入力
		Scanner sc = new Scanner(System.in);
		String tmp = sc.next();

		System.out.println(tmp.substring(0, 3));

	}

}