The number x is such that both the sums S=sin64x+sin65x and C=cos64x+cos65x are rational numbers.
Prove that in both of these sums, both terms are rational.