The Archangel is being built! In order to build the Archangel, at least 1 of a number of parts are required. In the following table, each part is represented by an uppercase character.
Part Name | Letter Used |
---|---|
Beam Weapons | B |
Frame (inclusive) | F |
Thrusters | T |
Launch Pad | L |
Command Room | C |
However, you appear to be missing some parts. Can you figure out which?
Input Specification
The first line contains a string containing the identifiers of all the parts you have. The length of the string will be at least and no longer than .
Output Specification
The missing parts, each on a separate line and in any order. If there are no missing parts, output NO MISSING PARTS
.
Sample Input 1
BFTL
Sample Output 1
C
Sample Input 2
BFTLC
Sample Output 2
NO MISSING PARTS
Comments
Hi
Anyone know what Test 1 is about?
Ghando, notice that the length of the string can be more than 5 characters long. For example, BFTLCC or BFTLCBFTLC should output "NO MISSING PARTS". Quick Note: Your "user.equals(result)" line of code and the two lines in it may need to be removed or you would be outputting an empty string in these special cases.
Ah, I looked over that, my mistakes. Thank you for your comment, it helped a ton!