{"raw_statement":[{"iden":"problem statement","content":"A single-player card game is popular in AtCoder Inc. Each card in the game has a lowercase English letter or the symbol `@` written on it. There is plenty number of cards for each kind. The game goes as follows.\n\n1.  Arrange the same number of cards in two rows.\n2.  Replace each card with `@` with one of the following cards: `a`, `t`, `c`, `o`, `d`, `e`, `r`.\n3.  If the two rows of cards coincide, you win. Otherwise, you lose.\n\nTo win this game, you will do the following cheat.\n\n*   Freely rearrange the cards within a row whenever you want after step 1.\n\nYou are given two strings $S$ and $T$, representing the two rows you have after step 1. Determine whether it is possible to win with cheating allowed."},{"iden":"constraints","content":"*   $S$ and $T$ consist of lowercase English letters and `@`.\n*   The lengths of $S$ and $T$ are equal and between $1$ and $2\\times 10^5$, inclusive."},{"iden":"input","content":"The input is given from Standard Input in the following format:\n\n$S$\n$T$"},{"iden":"sample input 1","content":"ch@ku@ai\nchoku@@i"},{"iden":"sample output 1","content":"Yes\n\nYou can replace the `@`s so that both rows become `chokudai`."},{"iden":"sample input 2","content":"ch@kud@i\nakidu@ho"},{"iden":"sample output 2","content":"Yes\n\nYou can cheat and replace the `@`s so that both rows become `chokudai`."},{"iden":"sample input 3","content":"aoki\n@ok@"},{"iden":"sample output 3","content":"No\n\nYou cannot win even with cheating."},{"iden":"sample input 4","content":"aa\nbb"},{"iden":"sample output 4","content":"No"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}