Why do you want to know?
For an exam you'd use the winds 2/3 of your cruise altitude for your initial climb. I suppose for an intermediate climb you'd just average the winds from the different levels if they're significantly different. In real life do what your company ops manual says, or if it doesn't specify, use something suitably conservative.