"use strict";

const main = arg => {
    const inputList = arg.trim().split("\n");
    // 回答を記述
    const S = inputList[0];
    console.log(S.slice(0, 3))
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'));