#!/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: print("No") return if p > N: if (p - N) * 25 + q < 4 * N: print("Yes") else: print("No") print("Yes") return if __name__ == '__main__': main() # 301, 1 # 300 4 * 300 = 1200