Տպել վերջին տողը

Ձեզ խնդրում են տպել ֆայլի վերջին տողը:
Ծրագրի մուտքը պարունակում է մեկ տող՝ ֆայլի անվանումը:
Ծրագրի ելքը պետք է պարունակի մեկ տող՝ ֆայլի վերջին տողը: Հայտնի է, որ ֆայլը պարունակում է առնվազն մեկ տող:
Մուտք
input.txt
Ելք
input.txt
hello this is some file content
some file content
Մուտք
single.txt
Ելք
single.txt
this file has only 1 line
this file has only 1 line
Մուտք
many.txt
Ելք
many.txt
this file has … many many lines
many lines
 

Constraints

Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in