Four students reach into a bag of coins. Steve grabs \(\frac{1}{3}\) of the coins, Joe grabs \(\frac{1}{4}\), and Kyle grabs \(\frac{1}{6}\). If Ryan gets the remaining 6 coins, how many coins were originally in the bag?
(A)12 (B)18 (C)24 (D)27 (E)281
C