This document presents an approach for recognizing multiple gestures in a single stroke sequence using dynamic time warping. It extends the $1 recognizer to segment an input gesture sequence into its constituent gestures by finding the best match between templates and the input. The approach employs dynamic time warping to calculate distances between templates and input points without restrictions on sequence length or composition. It achieves good accuracy even with a small number of training samples by splicing off matched portions and repeating on remaining input.