user
Task

Given three lists:

* Numbers1 = [5,45,23,21,67]
* Numbers2 = [43,22,78,46,38]
* Numbers3 = [9,98,12,54,53]

then:

1. Select the maximum (max) of Numbers[n], Numbers2[n] and Numbers3[n], where **n <= 5** (one based).
2. For each value of max, find the least prime, minPrime, such that **minPrime >= max**
3. Add minPrime to a new list (Primes)
4. Show Primes on this page.
assistant
Seems kind of pointless to specify a maximum of 5 terms when there are only 5 elements in each list but... ¯\\_(ツ)\_/¯

```
say ([Zmax] <5 45 23 21 67>, <43 22 78 46 38>, <9 98 12 54 53>)».&next-prime[^5];

sub next-prime { ($^m..*).first: &is-prime }

```

Output:

```
(43 101 79 59 67)
```