#include <bits/stdc++.h>
using namespace std;
int a, b;
int foo[500];
int main() {
  cin >> a >> b;
  if (b > 1) {
    cout << "Yes";
    return 0;
  }
  int point;
  for (int i = 0; i < a; i++) {
    cin >> foo[i];
    if (foo[i] == 0) {
      point = i;
    }
  }
  cin >> b;
  foo[point] = b;
  for (int i = 1; i < a; i++) {
    if (foo[i] < foo[i - 1]) {
      cout << "Yes";
      return 0;
    }
  }
  cout << "No";
  return 0;
}
