If p,q,r are positive integers and ω be an imaginary cube root of unity and f(x)=x3p+x3q+1+x3r+2, then f(ω) is equal to