Given a 32-bit integer, divide its bits into three sections: A (the leftmost 12 bits), B (the next 10 bits), and C (the rightmost 10 bits), so the integer is represented as ABC. Write a function that transforms the integer into ACC by replacing the middle 10-bit section (B) with a copy of the rightmost 10-bit section (C), while keeping A and C unchanged.
Implement def transform_bits(value):. The input is an unsigned integer from 0 through 2^32 - 1, and the result must also be an unsigned 32-bit integer.
def transform_bits(value):