take num from argv