Adam Yates won the fifth stage of Tirreno-Adriatico on Sunday, as the stage finished in the hometown of the late Michele Scarponi.