#include <bits/stdc++.h>

using namespace std;

#define int long long
#define all(v) (v).begin(), (v).end()
#define resz(v, ...) (v).clear(), (v).resize(__VA_ARGS__)
#define reps(i, m, n) for(int i = (int)(m); i < (int)(n); i++)
#define rep(i, n) reps(i, 0, n)

template<class T1, class T2> void chmin(T1 &a, T2 b){if(a>b)a=b;}
template<class T1, class T2> void chmax(T1 &a, T2 b){if(a<b)a=b;}

using Pi = pair<int, int>;
using Tapris = tuple<int, int, int>;
using vint = vector<int>;

const int inf = 1LL << 55;
const int mod = 1e9 + 7;

signed main() {
  cin.tie(0);
  ios_base::sync_with_stdio(0);
  cout << fixed << setprecision(12);

  int n;
  cin >> n;
  int bit = 0;
  int k;
  cin >> k;
  rep(i, k) {
    int b;
    cin >> b;
    bit |= (1<<b);
  }
  vint ans;
  int S = ((1<<n)-1)&~bit;
  for(int sub = S; ; sub = (sub-1)&S) {
    ans.push_back(sub|bit);
    if(!sub) break;
  }
  sort(all(ans));
  rep(i, ans.size()) {
    cout << ans[i] << ":";
    rep(j, n) if((ans[i]>>j)&1) cout << " " << j;
    cout << endl;
  }

  return 0;
}

