"use strict";

function main(input) {
	input = input.trim().split("");
	let arr = []
	for (const s of input) {
		arr.push(s);
		if (arr.length === 3) break
	}
	console.log(arr.join(""))
}

main(require("fs").readFileSync("/dev/stdin", "utf-8"));
