When an integer is subtracted from 5 times the next consecutive odd integer, the difference is 38. Find the value of the greater integer.