I want to make a progress graph on which the player will see his latest 5 game history score. My problem here is I would want to save it on a `SharedpPeference` the latest 5 game's score then transfer it in Addition `Array`. which would be like this :

```
int[] x = { 1,2,3,4,5 };
int[] Addition = new int [x.length];

```

is it possible with `SharedPreference`? And how do I make it in a FIFO way? Because I just need only the latest 5 game's score? Can someone help me on this kind of logic?