Gcd sum

Problem 625

.
You are given:
.
Find . Give your answer modulo 998244353