已知各项数列为实数的数列{an}为等比数列,且满足a1+a2=12,a2a4=1,则a1=