A is two years older than B who is twice as old as C. If the total of the ages of A, B and C be 27, then how old is B?