1 2 3 4 5 6
#!/usr/bin/env raku for ^get() { get; my @a = map (words get): +*; put (@a.max - @a.min) * 2 }