{"raw_statement":[{"iden":"statement","content":"In the card game of blackjack, a player competes with a dealer, who in the first rounds, distributes two cards to both the player, and to themselves. These two cards determine the play of the next turn, as the objective of the game is to achieve a total score of 21, through the combination of number and face cards. \n\nEach face card is worth 10 points, while the number cards are worth their value points in their numbers. An ace, however, is worth 11 points, but if an ace causes the player's pool to go over its 21 point limit, it may become devalued to 1 point.\n\nYou will be given two space-separated card values, the total of which will not be less than 10. Assume that given aces will automatically be valued at 11.\n\nPrint out the card value that you must get for the next round in order to reach a score of 21. If 10 points are needed, print \"FACE CARD/10\". If the two given cards' total value is already equal to 21, print, \"BLACKJACK\".\n\n"},{"iden":"input","content":"You will be given two space-separated card values, the total of which will not be less than 10. Assume that given aces will automatically be valued at 11."},{"iden":"output","content":"Print out the card value that you must get for the next round in order to reach a score of 21. If 10 points are needed, print \"FACE CARD/10\". If the two given cards' total value is already equal to 21, print, \"BLACKJACK\"."},{"iden":"examples","content":"InputA 10\nOutputBLACKJACK\nInput3 8\nOutputFACE CARD/10\nInput6 4\nOutputA\nInput6 7\nOutput8\n"}],"translated_statement":null,"sample_group":[],"show_order":[],"formal_statement":"**Definitions**  \nLet $ c_1, c_2 \\in \\mathbb{Z} $ be the values of the two given cards, where:  \n- $ c_i \\in \\{2, 3, 4, 5, 6, 7, 8, 9, 10, 11\\} $,  \n- $ 11 $ represents an ace (valued at 11),  \n- $ 10 $ represents any face card or 10.  \n\nLet $ S = c_1 + c_2 $ be the current total score.\n\n**Constraints**  \n1. $ S \\geq 10 $  \n2. Aces are initially valued at 11 (no soft-hand adjustment considered).  \n\n**Objective**  \nCompute the required next card value $ x $ such that $ S + x = 21 $.  \n\n- If $ S = 21 $, output **\"BLACKJACK\"**.  \n- If $ x = 10 $, output **\"FACE CARD/10\"**.  \n- Otherwise, output $ x $.  \n\nThat is:  \n$$\nx = 21 - S\n$$","simple_statement":"Given two cards, calculate their sum. If the sum is 21, print \"BLACKJACK\". Otherwise, print the number of points needed to reach 21. If that number is 10, print \"FACE CARD/10\".","has_page_source":false}