#include <iostream>
#include <unordered_map>
using namespace std;
int a, b;
void check(int x)
{
int res = 0;
unordered_map<int, int> h;
for (int i = 1; i <= x / i; i ++ )
if (x % i == 0) h[i] ++, h[x / i] ++;
for (auto p : h) res += p.first;
if (2 * ...