print first 30 in histogram