printing list and vals