Variable sep और end

एक प्रोग्राम लिखिए जो 5 मान पढ़े। पहले तीन मान उस टेक्स्ट का प्रतिनिधित्व करते हैं जिसे प्रिंट करना है। चौथा मान दिखाता है कि उन मानों को कैसे अलग किया जाए। पाँचवां मान दिखाता है कि प्रिंट की गई पंक्ति के अंत में क्या होना चाहिए।

Input

Output

AA
BB
CC
--
EE

AA--BB--CCEE

Hey
there
!
.
ABCDE

Hey.there.!ABCDE

Constraints

Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue