numbers = [int(x) for x in input().split()]
list(map(int, input().split()))
vector<int> v;
for(int t;;){
cin >> t;
if(cin.eof())
break;
v.push_back(t);
}
string input = Console.ReadLine();
string[] intlist = input.Split(new char[] {',', ' '});
foreach(string item in intlist)
{
Console.WriteLine(Convert.ToInt32(item));
}
auto list = stdin.byLine.map!(a => a.to!int);
integer :: I,j,k ,l(3)
read(*,*) I, j, k, l
var ints []int
s := bufio.NewScanner(os.Stdin)
s.Split(bufio.ScanWords)
for s.Scan() {
i, err := strconv.Atoi(s.Text())
if err == nil {
ints = append(ints, i)
}
}
if err := s.Err(); err != nil {
return err
}
read <$> getLine :: IO [Integer]
-- reading space separated list of ints
map read . words <$> getLine :: IO [Int]
process.stdin.on('data', processLine)
function processLine (line) {
const string = line + ''
console.log(string)
}
const ints = await new Promise(resolve => {
let string = ''
process.stdin
.on('data', data => string += data.toString())
.on('close', () => resolve(string.split('\n').map(line => Number.parseInt(line))))
})
List<Integer> list = new ArrayList<>();
Scanner in = new Scanner(System.in);
while(in.hasNext())
list.add(in.nextInt());
Scanner s = new Scanner(System.in);
int a[] = s.tokens()
.mapToInt(Integer::parseInt)
.toArray();
s.close();
type
TFloatList = specialize TFPGList<Double>;
var
List: TFloatList;
D: Double;
begin
List := TFloatList.Create;
while not Eof do
begin
Read(D);
List.Add(D);
end;
List.Free;
end.
STDIN.read.split.map(&:to_i)
let mut string = String::new();
io::stdin().read_to_string(&mut string)?;
let result = string
.lines()
.map(i32::from_str)
.collect::<Result<Vec<_>, _>>();