FERMAT 2001 Problem 6

Pat gives half of his marbles to his best friend and then a third of those remaining to his sister. If his sister receives 9 marbles, then the number Pat keeps is

Answer Choices
A. 27
B. 54
C. 18
D. 36
E. 9