If $a,b$ are integers with greatest common divisor $1$, then $[a,b]$ sit in a row of an invertible matrix over $\mathbb{Z}$. This is easy to see: we can write $ma+nb=1$ for some integers $m,n$. Consider the matrix with one row $[a,b]$ and other row $[-n,m]$.
Q. If $a_1,a_2,\ldots,a_n$ are integers with greatest common divisor $1$, then do they sit in a row of an $n\times n$ invertible matrix over $\mathbb{Z}$? Is this also valid if $\mathbb{Z}$ is replaced by principal ideal domain?