Allocating 100 items from lists to separate files

Игорь
Employer

[no-member:pro]Игорь[/no-member:pro]

2 projects
Project parameters
Type of cooperationOne-time project
Prepaymentwithout prepayment
Payment methodsBank transfer, Electronic money
Acceptance of requestsfrom until Apr 25, 2019
Project description
There are lists of X.txt, Y.txt, Z.txt. Each has an arbitrary number of points, but usually at least 1000. You need a program that will allocate exactly 100 points from each list loaded into it into new files and call 100X.txt, 100Y.txt and 100Z.txt, respectively. It doesn’t matter if the first points, the last or taken arbitrarily, are irrelevant.
The programming language is not important as long as it works, Win10, x64.
Project author: [no-member:pro]Игорь[/no-member:pro]