Task: Story Composition
Input (English): Beginning: Ray and his friends planned to go to the beach. Ending: All his friends were jealous of his new physique.
Output (English): Ray had been working out.