In a certain sequence, the first term is 2014. After that, each term is equal to the sum of the cubes of the digits in the previous term. What is the 2014th term in this sequence?

i=0;a=2014;printa,", ",;d=0;c=a;b=0;d=0;cycle:b=a%10;d=d+(b^3);a=int(a/10);if(a!=0, goto cycle,0);printd,", ",;a=d;d=0;i++;if(i<10, goto cycle, discard=0;print"2014th term = 370"

OUTPUT = 2014 , 73 , 370 , 370 , 370 , 370 , 370 , 370 , 370 , 370 , 370 , 2014th term = 370