Miley Cyrus gives racy show at MTV VMAs