Trying to figure out Clever puzzle