Abstract: A method of detecting a target nucleic acid A is disclosed, comprising hybridizing the target nucleic acid A with a probe nucleic acid B which contains a sequence B1 which base pairs with a part of the target nucleic acid A and a sequence B2, cleaving the hybridized probe nucleic acid B to produce a cleavage product B' containing the sequence B2, hybridizing the cleavage product B' with a template nucleic acid C containing a sequence C2 which base pairs with a part of the cleavage product B' and a sequence C1 which does not hybridize with the sequence B1 of the probe nucleic acid B, extending the hybridized cleavage product B' with an extension sequence B3 which is template-specific to a part of the sequence C1, hybridizing a probe D with the extension product, wherein the probe D contains a sequence D1 which base pairs with the extension sequence B3 and a sequence D2, and detecting any of the various products formed throughout the method. Products for performing the method are also disclosed.