#include <bits/stdc++.h>
using namespace std;
int a[181], b, n, k, i, kol, nom, ans;
bool x;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cin >> n >> k;
  for (i = 1; i <= n; i++) {
    cin >> a[i];
    if (a[i] == 0) {
      kol++;
      if (kol == 1) nom = i;
    }
  }
  cin >> b;
  a[nom] = b;
  if (k > 1) {
    cout << "Yes" << '\n';
    return 0;
  }
  for (i = 1; i <= n - 1; i++)
    if (a[i] > a[i + 1]) {
      x = true;
      break;
    }
  if (x)
    cout << "Yes" << '\n';
  else
    cout << "No" << '\n';
  return 0;
}
