--  Container aggregates (RM 4.3.5, T25b): a vector from positional values, and from a
--  filtered iteration over an array, through the vector's `Aggregate` aspect; and a sum of one.
with Ada.Text_IO; use Ada.Text_IO;
with Verada.Containers.Unbounded.Vectors;
procedure Main is
   subtype Score is Integer range 0 .. 100;
   package V is new Verada.Containers.Unbounded.Vectors (Score);
   type Arr is array (Positive range <>) of Score;
   A : constant Arr := (72, 85, 64, 91);
   X : constant V.Vector := [70, 85, 64];
   Y : constant V.Vector := [for S of A when S > 70 => S];
begin
   Put_Line (Natural'Image (V.Length (X)) & Natural'Image (V.Length (Y)) & Integer'Image ([for S of Y => S]'Reduce ("+", 0)));
end Main;
