Solve problems 21,23,27,35,37,55,57,92 using Ruby.