julia> sample([1 2 3], 10)
10-element Array{Int64,1}:
2
3
2
3
1
1
2
1
1
1