Suppose A=B^nC^m, where A has dimensions, LT, B has dimensions L^2T^-1 and C has dimensions LT^2. Determine the dimensions of n and m values.