Leaders of Ukraine and Russia assess their resources as their war heads into winter