Definition: In this task, you need to reverse the order of words in the given sentence.
Input: Sentence: a cheese sandwich is cooking in a black frying pan

pan frying black a in cooking is sandwich cheese a