Stories | Super Market


Super Market

  • Story Board
  • My Submissions

Super Market

When Bill proposed this idea to his marketing supervisor Becky, Becky suggested that Bill announces some special discounts to attract rarely(one time only) visited customers. Bill is delighted with this idea and needs help writing a code to notify potentially rarely(one time only) customers that they would get 10% off on their bill of they shop on the anniversary day.If no such customers return -1

Input Format :

First line contains the no of customers visited N.

Second line contains each and every customers ids in a single line separated by spaces.

Output Format :

Display the rarely (one time only) visited customers ids in a single line.

Sample Test Case :

Input :

13

1 2 3 4 5 7 7 5 4 5 4 3

Output :

1 2

Explanation :

1 2 3 4 7 7 5 4 5 4 3 are the following customers ids 1 2 are just visited only one time.

Write Your Code


														
														
														
														


S.No Submitted On Compilation Score Language Solution
No Submissions found.

Super Market Video


Previous Part