Implement solutions up to ordinal