Every subject in A-level will have different paper numbers, like paper 1,2,3 and 4 for example. Now paper 1 and 2 might be AS and paper 3 and 4 will be A2.
It differs in each subject and papers, so check the syllabus of the subject you need because it mentions which papers are for AS and which are for A2.