#!/usr/bin/env python3 import sys def main(): N, S = map(int, input().split()) if S > 29 * N: print("No") return p, q = divmod(S, 25) if p == 0 or p > N: print("No") return # q -= 4 * p # if q <= 0: # print("Yes") print("Yes") return if __name__ == '__main__': main()