import strutils, sequtils, stats let na, x = stdin.readLine.split.map parseFloat ["YES", "NO"][int(x.mean != na[1])].echo