#include <stdio.h> #include <stdlib.h> int main() { int n,j,o; scanf("%d",&n); int a[n]; for(int i=0;i<n;i++){ scanf("%d",&a[i]); if (a[i]>10) { while (a[i]>10) { a[i]%=10; }if (a[i]...