Welcome   HUNAN NORMAL UNIVERSITY ACM/ICPC Judge Online
Home
FAQs
Problem Set
Practices
Online Contests
Major Exercises
OI Special
Judgement
Submit
Online Status
User Ranklist
Users
Register new
Login
Web Links
Hunan Normal University
College of Information Science and Engineering
义贼的问题
Time Limit: 1000ms, Special Time Limit:2500ms, Memory Limit:32768KB
Total submit users: 100, Accepted users: 87
Problem 11068 : No special judgement
Problem description
  此题既容易又能让你放松心情,有安定神闲,舒筋脉络,气血畅通的作用,紧张的,心急的,抢速度的,想抢FB的,还没A题的,此题是改善心情,放松身体之良药。到底easy不义贼?看了就知道。
给你有序的几个数字(不超过20个),每个数字不大于16,里面会有些重复的,把他们去掉,然后输出,赶快抢啊!!!!!


Input
  每组测试数据分两行,第一行为n(1<=n<=20),表示数字的个数,第二行为n个数A1,A2,...,An。测试数据以n=0为结束.



Output
  对于每一组测试数据输出一行,输出去掉重复数字后的序列.每行结尾无空格。



Sample Input
5
1 1 6 9 12
4
0 1 7 10
0
Sample Output
1 6 9 12
0 1 7 10
Problem Source
  CXY

Submit   Discuss   Judge Status  Problems  Ranklist 

HUNAN NORMAL UNIVERSITY ACM/ICPC Judge Online, Version 2010.5.5.final.
Web visits:675 today,12609573 total, since 2010-05-07