Mainly B.
UVA causes oxidation of melanin and quick tans that also fade quickly. It is what you find in tanning beds. Because some people use tanning beds like mad, they have found that it can cause cancer but less often than B
UVB causes more melanin to be made and transported and is the main cause of skin cancer for those who dont tan indoors.