subject

You're given a sequence of non-negative numbers on a single line via standard input, each separated by a single space. print the same list with on a single line on standard output however after removing any element that occurs only once.

assumptions

1. all the numbers are non-negative (greater than or equal to 0.

2. the only input is the sequence of numbers

3. there are no punctuation marks or anything else to worry about reading.

4. there's at least one number in the sequence which occurs more than once

example

input 2313
answer 1313

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 01:30
Could you find out how im still getting an 83 percent on this in edhesive a = input("enter an animal: ") s = input ("enter a sound: ") e = "e-i-e-i-o" print ("old macdonald had a farm, " + e) print ("and on his farm he had a " + a + "," + e) print ("with a " + s + "-" + s + " here and a " + s + "-" + s + " there") print ("here a " + s+ " there a " + s) print ("everywhere a " + s + "-" + s ) print ("old macdonald had a farm, " + e)
Answers: 2
question
Computers and Technology, 24.06.2019 14:00
What are the different components of the cloud architecture?
Answers: 2
question
Computers and Technology, 24.06.2019 18:30
Jacking is a crime that takes place when a hacker misdirects url to a different site. the link itself looks safe, but the user is directed to an unsafe page
Answers: 1
question
Computers and Technology, 25.06.2019 02:00
What type of multimedia is a game cd? game cds are examples of multimedia
Answers: 1
You know the right answer?
You're given a sequence of non-negative numbers on a single line via standard input, each separated...
Questions
question
Business, 30.10.2020 02:20
question
Chemistry, 30.10.2020 02:20
question
Biology, 30.10.2020 02:20
question
Business, 30.10.2020 02:20
Questions on the website: 13722361