Recycling

Short vector plus long.

A short vector is repeated to match a long one.

Goal

Print units plus a recycled 1.

print(c(12, 8, 5) + 1)
print(c(12, 8, 5, 4) * c(1, 10))
print(c(1, 2) + c(10, 20, 30, 40))
print(paste(c("Nairobi", "Mombasa"), c("busy", "quiet", "ok")))