{"trustable":false,"sections":[{"title":"Description","value":{"format":"HTML","content":"Tira would like to join a multiplayer game with n other players. Each player has a character with some features. There are a total of k features, and each character has some subset of them. \nThe similarity between two characters A and B is calculated as follows: for each feature f, if both A and B have feature f or if none of them have feature f, the similarity increases by one.\nTira does not have a character yet. She would like to create a new, very original character so that the maximum similarity between Tira’s character and any other character is as low as possible. Given the characters of the other players, your task is to create a character for Tira that fulfils the above requirement. If there are many possible characters, you can choose any of them."}},{"title":"Input","value":{"format":"HTML","content":"The first line of input contains two integers n and k, where 1 ≤ n ≤ 105 is the number of players (excluding Tira) and 1 ≤ k ≤ 20 is the number of features.\nThen follow n lines describing the existing characters. Each of these n lines contains a string of k digits which are either 0 or 1. A 1 in position j means the character has the j’th feature, and a 0 means that it does not have the j’th feature."}},{"title":"Output","value":{"format":"HTML","content":"Output a single line describing the features of Tira’s character in the same format as in the input. \nIf there are multiple possible characters with the same smallest maximum similarity, any one of them will be accepted."}},{"title":"Sample Input 1","value":{"format":"HTML","content":"3 5\n01001\n11100\n10111"}},{"title":"Sample Output 1","value":{"format":"HTML","content":"00010"}},{"title":"Sample Input 2","value":{"format":"HTML","content":"1 4\n0000"}},{"title":"Sample Output 2","value":{"format":"HTML","content":"1111"}}]}