input() print(sum(1 for c,w in zip(input(), input()) if c != w))