#!/usr/bin/env rubyrequire 'profile'total = 0('a'..'zz').each do |seq| ['a', 'b', 'c'].each do |i| if seq.index(i) total += 1 break end endendputs "Total: #{total}"