Change input to list.