Nah dude .yoo got it all wrong ..
Barney ==> ESTP
TED ==> INFJ
although i dnt knw marshall and lilly's type may be ESFJ/ESFP.. but im sure of the first too ..