Without repetitions 3#8992

Without repetitions 3

1 saniye
64 megabayt
Çok kolay

You are given a string composed of English letters, punctuation marks, and spaces. Your task is to eliminate any consecutive repeated characters, replacing them with a single instance of that character.

Giriş

A single string containing English letters, punctuation marks, and spaces.

Çıktı

Answer to the task.

Örnekler

Örnek 1

Loading
Loading