### Problem Statement

You are playing a game in which you have to find sets of three cards that share certain characteristics. Each card has some symbols on it. Each symbol is either a circle, a squiggle, or a diamond. Each symbol is either colored blue, red, or green. Each symbol is either solid, striped, or empty. And finally each card has either one, two, or three occurrences of the same symbol. A set is formed by three cards, and each characteristic is either the same on all three cards or different on all three cards.

For example, a card with one solid blue diamond, a card with two solid green diamonds, and a card with three solid red diamonds all form a set. The symbols on each card have the same shape and the same shading, and none of the cards has the same number or the same color. Any two cards will form a set with exactly one other card. You want to know, given two cards, what is the other card that completes the set. Create a class Matching with a method findMatch that takes two String[]s, first and second, representing the characteristics of two cards, and returns a String[] representing the characteristics of the third card.

first and second will both contain exactly four elements. The first element of each will denote the shape of the symbols on the card and will be either "CIRCLE", "SQUIGGLE", or "DIAMOND". The second element will denote the color and will be either "RED", "BLUE", or "GREEN". The third element of each will denote the shading and will be either "SOLID", "STRIPED", or "EMPTY". The fourth element of each will denote the number of symbols, and will be either "ONE", "TWO", or "THREE". The return element should contain exactly four elements, and should follow the same format as the input.

### Definition

 Class: Matching Method: findMatch Parameters: String[], String[] Returns: String[] Method signature: String[] findMatch(String[] first, String[] second) (be sure your method is public)

### Constraints

-first and second will both contain exactly four elements.
-The first element of first and second will be either "CIRCLE", "SQUIGGLE", or "DIAMOND".
-The second element of first and second will be either "RED", "BLUE", or "GREEN".
-The third element of first and second will be either "SOLID", "STRIPED", or "EMPTY".
-The fourth element of first and second will be either "ONE", "TWO", or "THREE".

### Examples

0)

 ```{"DIAMOND","BLUE","SOLID","ONE"} ``` ```{"DIAMOND","GREEN","SOLID","TWO"} ```
`Returns: { "DIAMOND",  "RED",  "SOLID",  "THREE" }`
 The example from above.
1)

 ```{"CIRCLE","GREEN","EMPTY","TWO"} ``` ```{"DIAMOND","BLUE","STRIPED","ONE"} ```
`Returns: { "SQUIGGLE",  "RED",  "SOLID",  "THREE" }`
 All four characteristics are different on these two cards, so all four characteristics will be different on the third card in the set.
2)

 ```{"DIAMOND","RED","SOLID","ONE"} ``` ```{"SQUIGGLE","BLUE","SOLID","TWO"} ```
`Returns: { "CIRCLE",  "GREEN",  "SOLID",  "THREE" }`
 The only characteristic that is the same for all the cards in this set is that they are all solid.
3)

 ```{"SQUIGGLE","RED","STRIPED","ONE"} ``` ```{"SQUIGGLE","RED","STRIPED","ONE"} ```
`Returns: { "SQUIGGLE",  "RED",  "STRIPED",  "ONE" }`

#### Problem url:

http://www.topcoder.com/stat?c=problem_statement&pm=2249

#### Problem stats url:

http://www.topcoder.com/tc?module=ProblemDetail&rd=4685&pm=2249

Running Wild

#### Testers:

lbackstrom , brett1479

#### Problem categories:

Simple Search, Iteration
{"ft_lang_label":"__label__en","ft_lang_prob":0.85656196,"math_prob":0.8849892,"size":3119,"snap":"2019-51-2020-05","text_gpt3_token_len":812,"char_repetition_ratio":0.13804173,"word_repetition_ratio":0.09330629,"special_character_ratio":0.27059954,"punctuation_ratio":0.17898194,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9695581,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-01-25T05:06:42Z\",\"WARC-Record-ID\":\"<urn:uuid:f091d6d0-81ac-4e62-b3fa-780dbae90d5e>\",\"Content-Length\":\"9034\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:63a9a59f-4b0e-468e-9c6f-f9e4ec9a6e45>\",\"WARC-Concurrent-To\":\"<urn:uuid:544652f3-a051-4044-9ad0-dced894d53f2>\",\"WARC-IP-Address\":\"78.128.6.10\",\"WARC-Target-URI\":\"http://topcoder.bgcoder.com/print.php?id=469\",\"WARC-Payload-Digest\":\"sha1:RJCEWNNAXW6CZOSNJJWMBMYJJRBYDBQK\",\"WARC-Block-Digest\":\"sha1:EGILPLULMVVJ3MFO5DFMVR7LIO47DEAA\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-05/CC-MAIN-2020-05_segments_1579251669967.70_warc_CC-MAIN-20200125041318-20200125070318-00022.warc.gz\"}"}