This is a Basic implementation of daily challenge 191