#include <stdio.h>
#include <stdlib.h>

int main() {
  printf("%d*", atoi(""));
  printf("%d*", atoi("a"));
  printf("%d*", atoi(" b"));
  printf("%d*", atoi(" c "));
  printf("%d*", atoi("6"));
  printf("%d*", atoi(" 5"));
  printf("%d*", atoi("4 "));
  printf("%d*", atoi("3 6"));
  printf("%d*", atoi(" 3 7"));
  printf("%d*", atoi("9 d"));
  printf("%d\n", atoi(" 8 e"));
  printf("%d*", atol(""));
  printf("%d*", atol("a"));
  printf("%d*", atol(" b"));
  printf("%d*", atol(" c "));
  printf("%d*", atol("6"));
  printf("%d*", atol(" 5"));
  printf("%d*", atol("4 "));
  printf("%d*", atol("3 6"));
  printf("%d*", atol(" 3 7"));
  printf("%d*", atol("9 d"));
  printf("%d\n", atol(" 8 e"));
  printf("%lld*", atoll("6294967296"));
  printf("%lld*", atoll(""));
  printf("%lld*", atoll("a"));
  printf("%lld*", atoll(" b"));
  printf("%lld*", atoll(" c "));
  printf("%lld*", atoll("6"));
  printf("%lld*", atoll(" 5"));
  printf("%lld*", atoll("4 "));
  printf("%lld*", atoll("3 6"));
  printf("%lld*", atoll(" 3 7"));
  printf("%lld*", atoll("9 d"));
  printf("%lld\n", atoll(" 8 e"));
  return 0;
}
