12345678910111213141516171819202122232425#include int main(){ int i; int result; int A, B, C, D; int count = 0; scanf("%d", &i); result = i; while (1) { A = i / 10; B = i % 10; C = (A + B) % 10; D = (B * 10) + C; i = D; count++; if (D == result) break; } printf("%d", count);}cs