#!/bin/python3 import sys n,a,b,q = input().strip().split(' ') n,a,b,q = [int(n),int(a),int(b),int(q)] c = list(map(int, input().strip().split(' '))) for a0 in range(q): queryType,first,second = input().strip().split(' ') queryType,first,second = [int(queryType),int(first),int(second)] if( queryType == 1 ): c[first] = second continue x = float( (-b) / a ) res = float(0) if( queryType == 2): res += float(c[first]) for i in range(first+1, second+1): res += float( c[i] ) * x x = x*x if( res < float( 1 / 1000) ): print('Yes') else: print('No') # your code goes here