A person 40 years old or older is a knight, unless his age is a multiple of 17, and then he is a liar. A person under 40 is a liar, unless his age is a multiple of 13, and then he is a knight.

The six say:

__A's Statement__:

1. E is older than I am.

__B's Statement__:

1. A is 30 years younger than C.

__C's Statement__:

1. I am 51.

__D's Statements__:

1. C is 52.

2. I am not 29.

__E's Statements__:

1. A is a Liar.

2. F's age is not less than 40 years.

__F's Statements__:

1. D is a Liar.

2. B is 39.

Determine the ages of each of the inhabitants from the above statements.