INPUT
GRAM ONLY
GRAM + HISTOGRAM