import java.util.*; public class Main { public static void main(String[] args) { var sc = new Scanner(System.in); long n = sc.nextLong(); long a = sc.nextLong(); long b = sc.nextLong(); System.out.println(a + b <= n + 1 && g(a, b) == 1 ? "YES" : "NO"); } static long g(long a, long b) { return b == 0 ? a : g(b, a % b); } }