A bacteria culture doubles in size every 3 hours. Initially, there are 500 bacteria. After 12 hours, a scientist removes 1/4 of the bacteria for study. How many bacteria remain in the culture? Let's think step by step and output the final answer within \boxed{}.
user