Define the two sequences a0,a1,a2,⋯ and b0,b1,b2,⋯ by a0=3 and b0=1 with the recurrence relations an+1=3an+bn and bn+1=3bn−an for all nonnegative integers n. Let r and s be the remainders when a32 and b32 are divided by 31, respectively. Compute 100r+s.