Answer the following questions with respect to the sex determining mechanism observed in honey bee.

Rearrange the following parts to form a meaningful and grammatically correct sentence:
P. that maintaining a positive attitude
Q. even in difficult situations
R. is essential for success
S. and helps overcome obstacles effectively