hi

I need to find examples for these two topological spaces:

a. A space $\displaystyle X$ such that every sequence has a convergent subsequence, but X is not compact.

b. Space $\displaystyle X$. every infinite set $\displaystyle S \subseteq X $has an accumulation point and $\displaystyle X$ is not compact.

thanks