Analog Devices Interview Question

Design a 5 bit self correcting ring counter using 4 flip flops ?