List solution