get initial numbers form query string and set query strings on solve