I am fairly sure "the licences" should be read as a sum of these licences, as applicable:
you hereby grant Ditto a license to translate, modify (for technical purposes, for example making sure your content is viewable on an iPhone as well as a computer) and reproduce and otherwise act with respect to such User Submissions
you grant Ditto the licenses above, as well as a license to use, prepare derivative works of, display, perform, and distribute your Public User Submission in any media format and through any media channels (including, without limitation, third party websites) as well as all other rights necessary to use and exercise all rights in that Public User Submission in connection with the Site for any purpose. Also, you grant all other users of the Site a license to access that Public User Submission, and to use and exercise all rights in it, as permitted by the functionality of the Site.
So the former, but applied to these particular rights.