//readln in map
//DMD64 D Compiler v2.067.1
import std.stdio, std.algorithm, std.conv, std.array;
void main()
{
auto a = [1, 2, 3];
auto b = a.map!(c => c ~ readln.split.map!(to!int).array).array;
writeln(b);
}
dmd
[[1, 7, 8, 9], [2, 10, 15, 69, 9, 4], [3, 45, 97, 13]]